Get Email Subscription

Enter your email address:

Delivered by FeedBurner

Saturday, January 9, 2010

Repetitive statements in C

In some C program, we have to repeat certain step during program execution. This can be done with the help of the repetitive statements or loop statements. They are While, do ......... while, for.

The syntax of this statement as follows :-

1)
while (expression)
{
statements;
}


2)
do
{
statements:
}
while(expression);


3)
for(exp1; exp2; exp3)
{
statements;
}

Related Posts by Categories



0 comments:

About This Blog

Lorem Ipsum

  © Blogger templates Newspaper III by Ourblogtemplates.com 2008

Back to TOP