What is an escaping variable

Questions by sumanthreddy

Showing Answers 1 - 3 of 3 Answers

tehoclub

  • Jan 21st, 2008
 

Escaping variable uses when you want to break loop.


int flag = 1; //flag is an escaping variable
for(...)
{

for(...)
{
flag = 1;
...
if(..)
{
flag = 0;
break;
}
}

if(flag==0) break;
}



  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions