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++;

Follow CodeGalaxy

Mobile Beta

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