while loop in C program
The syntax of this statement as follows :-
1)
while (expression)
{
statements;
}
Explaination :-
In while statement the bracket expression is a condition which is tested, if the condition is true the loop gets executed. The execution stops when the condition become false.
1)
while (expression)
{
statements;
}
Explaination :-
In while statement the bracket expression is a condition which is tested, if the condition is true the loop gets executed. The execution stops when the condition become false.
0 comments:
Post a Comment