Enter your email address to subscribe to this blog and receive notifications of new posts by email.
Join 1 other subscriber
What would the output of following program written in c?
i = 1;
(i < 15)
Explanation: The do while loop checks condition after each iteration.
So after continue statement, control transfers to the statement while(false). Since the condition is false ‘i’ is printed only once.