Control Structure

 1. Different types of loop structures in C. 
2. Syntax and usage of these statements.
 3. Usage of each loop structure



 


 

 while statement

while (condition)
{
statement 1;
statement 2;
.
.


}



 do-while statement
do
{
statement 1;
statement 2;
.
.

} while (condition);






for statement
for(expr1; expr2; expr3)
{
statement 1
.
.
}
expr1 = initialization 
expression
expr2 = loop condition 
expr3 = alteration 
expression which alters 
the loop variable

 

 






 










SHARE

Milan Tomic

Hi. I’m Designer of Blog Magic. I’m CEO/Founder of ThemeXpose. I’m Creative Art Director, Web Designer, UI/UX Designer, Interaction Designer, Industrial Designer, Web Developer, Business Enthusiast, StartUp Enthusiast, Speaker, Writer and Photographer. Inspired to make things looks better.

  • Image
  • Image
  • Image
  • Image
  • Image
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment

4.Time Management

                                      Time Management   •        Effective time management in project management involves strategic plann...