Question:

Syntax of for loop in c language?

by  |  earlier

0 LIKES UnLike

 Tags:

   Report

3 ANSWERS


  1. yup dats right structure work up for the nested


    for (i=0; i<3; i++)


    for(i=3; i>1; i--)


    {


    printf("You r done with nested syntax");


    }


  2. Most real, C programs contain,  some construct that loops within the program, performing repetitive actions on a stream of data or a region of memory. There are several ways to loop in C. Two of the most common are the while loop. While loop structure can be rewritten in the easier syntax of the for loop in the following fashion:

    for (i = initial_i; i <= i_max; i = i + i_increment)

    {

    ...block of statements...

    }


  3. syntax forloop

Question Stats

Latest activity: earlier.
This question has 3 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.