In the given example of while and break statements, what will be printed on the screen?
int main()
{
  int i = 0;
  char sym;
  while(true)
  {
     i++;
     if (i==100)
        break;
  }
  sym = i;
  cout << sym;
}

Follow CodeGalaxy

Mobile Beta

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