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