CJCoding With Joseph
15free / daySign inCreate account
Back to Multiple Choice Quiz

Select topics to narrow your question pool, then enable Random to jump to a random question matching your filters.

Topics

Short-Circuit Side Effect

C quiz · Question 50
hardOperators

What does this code print?

Code

1int a = 5, b = 0;
2int c = (a > 0) || (b = 10);
3printf("%d %d", c, b);