answersLogoWhite

0


Best Answer

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.

User Avatar

Wiki User

16y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you use a C-continue statement in a block- without any looping or conditional statements?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is the difference between conditional statements and looping statements?

The main difference is how often they run. A conditional statement - often an IF - may or may not run. If it does (depending on whether a condition is fulfilled), it runs only once. A looping statement - often a WHILE or FOR - is designed to repeat, while a certain condition is true.


General form of three looping statement?

1. do statement while (condition);2. while (condition) statement3. for (exp1; condition; exp2) statement4. LABEL: statements goto LABEL;


What are the three looping statements in java PL?

There are 4 different looping statements in Java. They are:While loopDo-While loopFor loopFor Each loop


What is looping in c plus plus?

A loop in computer languages is a set of statements that execute repeatedly, based on some criteria.In C and C++, the three looping statements are while, do, and for...while (test-expression) statement;/* statement executes zero or more times, until test-expression is false, test first */do statement while (test-expression);/* statement executes one or more times, until test-expression is false, test last */for (init-expression, test-expression, loop-expression) statement;/* init-expression executed once, at beginning *//* statement executes zero or more times, until test-expression is false, test first *//* loop-expression evaluated at end of each iteration */Often, statement, is a set of statements, such as...while (test-expression) {... statements}


Name two types of looping?

The two types of looping include the closed loop and the open loop.There is the count loop, the conditional loop and the unconditional loop.

Related questions

What is the difference between conditional statements and looping statements?

The main difference is how often they run. A conditional statement - often an IF - may or may not run. If it does (depending on whether a condition is fulfilled), it runs only once. A looping statement - often a WHILE or FOR - is designed to repeat, while a certain condition is true.


How are looping statements different from conditional statements?

The former include repetition, the latter don't.


What is difference between control statements and looping statements in c language?

differance between control statement and looping statement?


What are iterative statements?

An iterative statement is a looping statement, such as a 'for', 'while', or 'do-while' statement. They cause statements to be repeated (iterated) multiple times.


Looping statement in c plus plus?

There are several 'looping' statements in C++. They are:while () { }do { } while () ;for (index-start, index-end; index increment/decrement) { }They are used to repetitively execute statements as long as the statement(s) controlling the loop are true.


What is looping statement?

What is looping statement?


General form of three looping statement?

1. do statement while (condition);2. while (condition) statement3. for (exp1; condition; exp2) statement4. LABEL: statements goto LABEL;


What are the three looping statements in java PL?

There are 4 different looping statements in Java. They are:While loopDo-While loopFor loopFor Each loop


What is looping in c plus plus?

A loop in computer languages is a set of statements that execute repeatedly, based on some criteria.In C and C++, the three looping statements are while, do, and for...while (test-expression) statement;/* statement executes zero or more times, until test-expression is false, test first */do statement while (test-expression);/* statement executes one or more times, until test-expression is false, test last */for (init-expression, test-expression, loop-expression) statement;/* init-expression executed once, at beginning *//* statement executes zero or more times, until test-expression is false, test first *//* loop-expression evaluated at end of each iteration */Often, statement, is a set of statements, such as...while (test-expression) {... statements}


What are the differences between looping structure and conditional structure?

A conditional structure takes out of possible multiple paths given a condition. A looping structure, on the other hand, repeats the same steps while a specific condition is still met. Examples: Conditional: if (x 5) //do action end while


What is the difference between Do While statements and Do For statements?

A "do while....." statement is a looping instruction to a program to repeat a stage in the program while some condition is true - e.g while a variable is negative, or, while one variable is less than another. A "do for ....." statement is a looping instruction to a program to repeat a stage in the program a set number of times - e.g for steps = 1 to 10, or, for steps = 1 to (some variable).


Name two types of looping?

The two types of looping include the closed loop and the open loop.There is the count loop, the conditional loop and the unconditional loop.