← Back to Question List
C Quiz #50
Short-Circuit Side Effect
What does this code print?
📄 Code
1int a = 5, b = 0;2int c = (a > 0) || (b = 10);3printf("%d %d", c, b);
What does this code print?
1int a = 5, b = 0;2int c = (a > 0) || (b = 10);3printf("%d %d", c, b);