answersLogoWhite

0

What statement is used to exit aloop?

Updated: 8/17/2019
User Avatar

Wiki User

14y ago

Best Answer

break;

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What statement is used to exit aloop?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Who can used to exit from a loop?

If you meant 'what can be used' then it is statement break.


What is break in c?

The break statement is used to exit a loop or switch-case.


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 is the use of break in c programming?

The break statement is used to exit the nearest enclosing scope. Control passes to the first statement that comes after that enclosing scope.


What is normal exit in loops?

The condition requirements (target) of the conditional statement has been met.


Is exit an adverb?

No, it is not an adverb.The word exit is a verb, or noun, and can be used as an adjunct or adjective (exit door, exit plan).


When you combine AND and OR operators the OR operators take precedence meaning their Boolean values are evaluated first?

in some cases, aloop control variable does not have to be initialized.


What does saliste mean in spanish?

Depends on the context. It is a form of the word "Salir" = to exit. Used as a question it means "Did you go out?" In a question preceded by the word "Te" it could mean, "Did you get out (of the predicament)" Used as part of a statement, it could mean "you went out."


What command is used to exit from the middle of a loop in Scilab?

As in most languages, a break statement is used to exit the nearest enclosing scope, including loops:// Scilab example:// Loop 5 times with a 50% chance of early termination on each iterationfor i=1:5disp (i)if rand (1,1)>0.5 thenbreakendend// break jumps to this point


Has the radiohead song exit music for a film been used as exit music for a film?

Yes, it was written for, and used as, the exit music for Baz Luhrmann's Romeo + Juliet.


What is the difference between end and Stop statement in c language?

There is no end or stop statement in C. You probably mean exit() and abort() function calls. The difference is that abort() terminates immediately, whereas exit() executes any functions passed to at_exit or at_quick_exit before terminating.


What is a exit sign?

An exit sign is usually a small green sign with white capitalized letters saying 'EXIT' on it, which are placed above doors that can be used to exit the building and don't lead to another room. Although some exit signs are used to indicate where the exit door is, and not necessarily above the actual exiting door.