| C Tutorial | While loop | |||
|
If Statement Ternary Operator Switch Statement While Loop Do-While Loop For Loop Break Continue
|
The while loop evaluates the test expression before every loop, so it can execute zero times if the condition is initially false. It requires the parenthesis like the if.
while (<expression>) { <statement> }
Want To Know more with Video ??? |
|