do ........... while loop in C
The syntax of this statement as follows :-
do
{
statements:
}
while(expression);
Explaination :-
In do ....... while loop first the statement are executed and then the expression in the bracket tested. The execution stops if the expression becomes false.
do
{
statements:
}
while(expression);
Explaination :-
In do ....... while loop first the statement are executed and then the expression in the bracket tested. The execution stops if the expression becomes false.
0 comments:
Post a Comment