Haha, this is a classic trick question! The right answer is B, because the post-increment operator `i++` returns the original value of `i`, which is 1, and then increments it. So the output is 2, not 1.
I think the correct answer is B. The `if (i++==1)` condition evaluates to true, and the `cout << i;` statement prints the incremented value of `i`, which is 2.
Basilia
2 months agoNohemi
14 days agoDenny
15 days agoJulio
27 days agoJillian
1 months agoRegenia
2 months agoDeane
2 months agoAudry
2 months agoAudry
2 months agoTegan
3 months agoFreeman
3 months agoKeshia
3 months agoBrock
3 months ago