If the condition of do..while is true for n times .then ______ times the body of the loop is
executed
(a) 1 (b) n (c) n+1 (d) n*n
Answers
Answered by
1
Answer:
Example: int i = 0; while( i < 5 ) printf( "i = %d\n" , i++ ); printf( "After loop, i = %d\n", i ); ... If the condition is true ( non-zero ), then the body of the loop is executed next. If the condition is false ..
Explanation:
Hence (c) n+1 is the correct answer
Answered by
0
PLEASE CHECK THE FOLLOWING IMAGE!!!
AS I AM UNABLE TO TYPE IT DUE TO SOME ISSUE.
Attachments:
Similar questions