Share
Explore BrainMass

FOR loop and CONTINUE statement

****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'))
{
putchar('4');
continue;
putchar('5');
}

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

Solution Preview

Hi,
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

$2.19