Why we use do-while loop in c? Also tell any properties which you know?
Answers
Answered by
1
A do while loop is similar to while loop with one exception that it executes the statements inside the body of do-while before checking the condition. On the other hand in the while loop, first the condition is checked and then the statements in while loop are executed.
property :
do loop will break if the statement is false
Similar questions
CBSE BOARD XII,
5 months ago
Geography,
5 months ago
Environmental Sciences,
10 months ago
English,
10 months ago
French,
1 year ago