Tuesday 22 February 2011

Looping in c



Explanation
of loops or looping in c programming language by examples and questions



Looping is the
process of repeating of same code until a specific condition doesn’t satisfy.
In c there are three types of loop:



(a)loop

(b)while loop

(c)do while



for loop:



This loop is
used when we have to execute a part of code in finite times. It is per tested
loop. Syntax of for loop:



for (

No comments:

Post a Comment