What will the following program print in for loop? Adding more than one to the for loop controlling variable - C Statement

C examples for Statement:for

Description

What will the following program print in for loop? Adding more than one to the for loop controlling variable

Demo Code

#include <stdio.h> 

int main(void) { 
     int n, m; /* w  w w .j  a  va 2 s.c  o m*/
 
     for (n = 1; n*n < 200; n += 4) 
          printf("%d\n", n); 
}

Result


Related Tutorials