Initial statement(s) - these are one or multiple statements (use comma in between). Often contains initialization of counter variables.
Repeat step(s) - these are one or multiple statements. Often contains counter operation on variables like increment, decrement etc.
Condition statement - is however only one condition statement.
Condition statement - for loop will be an infinite if it is blank.
Condition expression - while/do-while loop will be an infinite if it is a always TRUE.
Loop statement(s) - these statements are tasks in each steps. Counter variables are often used in the steps.
You have viewed 1 page out of 248. Your C learning is 0.00% complete. Login to check your learning progress.
Similar topics related to this section
switch case, compare with ==, execution sequence, loop statements, for, while, do-while loop syntax, for to while, do-while and while usage, infinite loops, break and continue,
C Programming Language (Prentice Hall Software)
Let Us C Paperback - 2006 by Yashavant Kanetkar
Understanding and Using C Pointers Core techniques for memory management
Data Structures Using C and C++ Paperback - 1998
Data Structures In C Paperback - August 11, 2008 by Noel Kalicharan