+ 1
break;
its function how it works, how to use, completely can anyone help me to find out nd help me...
3 Answers
+ 4
for(i=0;i<10;i++)
{
if(i==5)
break;
}
/*this break in the above code will stop the iteration of for loop when the value of i=5*/
?*break can also be used in switch cases*/
+ 1
thanks to all