answersLogoWhite

0


Best Answer

The continue statement is not actually used when it is the last statement of the body of the loop.

Plus: outside any loop it is rarely or never used.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Where is the continue statement NOT usually used?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Can a continue statement be used in a switch statement?

If you have a loop in your switch statement or around your switch statement, you can use the continue statement in that. You cannot use a continue statement outside of a loop (do, for, or while).


What are the differences between Break Continue and Exit?

break - The break statement is used to jump out of loop. After the break statement control passes to the immediate statement after the loop.continue - Using continue we can go to the next iteration in loop.exit - it is used to exit the execution of program.note: break and continue are statements, exit is function.


Difference between goto and continue statement in c language?

In continue statement, we immediately continue next step through loop In go to statement, we go to in perfect label which we call.


What are break and continue statement in c language?

Break is used to exit the closest loop. Continue will cause the program to go to the beginning of the loop. for(int x=0;x<10;x++) { //continue; for(int y=0;y<10;y++) { break; } } The break statement causes the inner loop to stop at the first iteration. If the continue statement was uncommented, the inner loop would never be executed because the program would jump back to the beginning(until x = 10 of course).


How do you use a C-continue statement in a block- without any looping or conditional statements?

In the C language, the continue statement can only be used within a loop (for, while, or do). Upon execution, control transfers to the beginning of the loop.

Related questions

Can a continue statement be used in a switch statement?

If you have a loop in your switch statement or around your switch statement, you can use the continue statement in that. You cannot use a continue statement outside of a loop (do, for, or while).


What statement is used to skip a part of loop?

The continue statement is used to skip the balance of a loop.


What is the use of continue in c?

Continue statement is used to take the control to the begining of the loop in which it is used.


How do you use continue statement in c language?

In C continue stements are used inside the loops like for .while,do while .its a statement used in c language wher it tell the compiler to skip the following statement(statement or part of progm following continue)&continue with next iteration.it shud me noted that its diff from break statement wher the control of prog goes out of the particular loop.in case of for ,while ,or do loops when we use continue the rest of the loop will not me excecuted and it will go back to check the condition of the loop.


What are the differences between Break Continue and Exit?

break - The break statement is used to jump out of loop. After the break statement control passes to the immediate statement after the loop.continue - Using continue we can go to the next iteration in loop.exit - it is used to exit the execution of program.note: break and continue are statements, exit is function.


What does the word general statement mean?

A common statement that is usually used to summarize something.


Difference between goto and continue statement in c language?

In continue statement, we immediately continue next step through loop In go to statement, we go to in perfect label which we call.


What are break and continue statement in c language?

Break is used to exit the closest loop. Continue will cause the program to go to the beginning of the loop. for(int x=0;x<10;x++) { //continue; for(int y=0;y<10;y++) { break; } } The break statement causes the inner loop to stop at the first iteration. If the continue statement was uncommented, the inner loop would never be executed because the program would jump back to the beginning(until x = 10 of course).


How do you use a C-continue statement in a block- without any looping or conditional statements?

In the C language, the continue statement can only be used within a loop (for, while, or do). Upon execution, control transfers to the beginning of the loop.


Which word would be used to start a general statement?

usually


When do you use 'does ' in a sentence?

Usually when asking a question, such as, "Does this work?" It can also be used as a statement or exclamatory statement, such as, "It does not work!"


What is the different between break and continue?

The break statement exits out of the smallest containing loop or switch-case statement. The continue statement transfers control to the next iteration of the smallest containing loop statement.