What will the following program print in while loop? - C Statement

C examples for Statement:while

Description

What will the following program print in while loop?

Demo Code

#include <stdio.h> 
int main(void) 
{ 
     int n, m; /*from   w  ww  . ja v  a2s.c om*/
 
     n = 30; 
     while (++n <= 33) 
          printf("%d|",n); 
     return 0; 
}

Result


Related Tutorials