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:
C++ Quiz
Start Quiz

or Read more about C++ Quiz

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback