Delicious Digg Facebook Favorites More Stumbleupon Twitter

Tuesday 28 August 2012

loops


           Loops of C-Programming language



        Loop is a statement, it calls itself more than one time,
        when the condition gets satisfied. 
                                  (or)
       C loop statement is used when you want to execute
       a block of code repeatedly with checked condition
       before making an iteration.

        By using loop we can reduce the duplicate statements.

       Loops are divided into 3 types.

       * while loop.

       * do-while loop.

       * for loop. 

0 comments:

Post a Comment