Professional Documents
Culture Documents
Short Notes
By @Curious_.programmer •
{IJucurtous_.progt'lll'IIINII'
For loop in C
• The for loop in C language is used to iterate the
statements or a part of the program several
times.
Initialization
False
condition
True
statement
Iner/deer
Curious_. programmer
Example:
; It.
{
i.nt . '
for( = < ++ )
{
'
., I ; ( \' );
}
return
}
Output:
Output
0
1
2
3
4
wh i. le ( con d i_ t Lo 11 ){
Flowchart:
condition
False
True
statement
Example:
syntax:
True
statement
False
Example:
https://t.me/Curious_Coder
®JB
'-'
@eurious_.progranuner