Purchase Solution

FOR loop and CONTINUE statement

Not what you're looking for?

Ask Custom Question

****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"****

Purchase this Solution

Solution Summary

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

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 ...

Purchase this Solution


Free BrainMass Quizzes
Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

C# variables and classes

This quiz contains questions about C# classes and variables.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

C++ Operators

This quiz tests a student's knowledge about C++ operators.