For Loop : Looping Syntax in C Programming
For Loop Syntax :
for(initialization ; conditional ; increment) { -------- -------- //body -------- -------- }
Note :
- For Single Line of Code - Opening and Closing braces are not needed.
- There can Exist For Loop without body.
- Initialization , Incrementation and Condition steps are on same Line.
- Like While loop , For Loop is Entry Controlled Loop.[i.e conditions are checked if found true then and then only code is executed ]