Explore BrainMass

FOR loop and CONTINUE statement

This content was STOLEN from BrainMass.com - View the original, and get the solution, here!

****This needs to be in "C"****

Test the effect of a continue statement in the body of a for loop

what is printed?

for (putchar('1'); putchar('2'); putchar('3'))

****This needs to be in "C"****

© BrainMass Inc. brainmass.com September 24, 2018, 1:16 pm ad1c9bdddf - https://brainmass.com/computer-science/compiler-theory/for-loop-continue-statement-160030

Solution Preview

Iam Leela Krishna from India. I am very happy to help you with this query. Find the answer with explanation below:

All the best for your future.

========================== Answer Starts =======================
The effect of Continue statement in a FOR ...

Solution Summary

Solution clearly explains the FOR looping construct in C and C++ and the effect of CONTINUE statement in FOR loop