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

C examples for Statement:do while

Description

What will the following program print in do while loop?

Demo Code

#include <stdio.h> 
int main(void) 
{ 
     int n = 30, m; 
     do /*from w  w w . j a v a2 s  . c  o  m*/
        printf("%d|",n); 
     while (++n <= 33); 
     n = 30; 

}

Result


Related Tutorials