What will be the value of variable i after the following code fragment is executed?

int i = -3, a = -3;
while(a - i)
a = i++;
Explanation
Get an explanation when it's available:

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
C++ quizzes
Cosmo
Sign Up Now
or Subscribe for future quizzes