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++;
Get an explanation when it's available:

Follow CodeGalaxy

Mobile Beta

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