Well Matt has said is correct.
exit() will take you completely out of the loop that is
while( condition)
{
}
// the control will come here..
as for ur other part of question you can go to the next iteration like this
while (condition)
{
int a; // dummy variable.
a=2;
if (a)
{...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.