For the given for loop in C++, what result will be displayed when running the following piece of code:
int a = 5;
for(;a-->0;) {
      cout << a << "   ";
}

Follow CodeGalaxy

Mobile Beta

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