/*AN IMPLEMENTATION OF SEE THAT BY APPLYING BREAK..WEITHER IT LEAVES ONE LOOP IN WHICH IT IS APPLYED OR ALL OF THE LOOPS..IN WHICH WHICH THAT LOOP IS APPLYED IN WHICH THERE IS A BREAK STATEMENT*/
#include<stdio.h>
int main()
{
int i,j;
for(j=0;j<10;j++)//we have a loop of j
{
for(i=0;i<10;i++)//loop of i will proceed 10 times for 1 value of j
{
if(i>5)//at the time when i=6..it printf its statement & goto out of this loop of i..& again enters into loop of j...
{
printf("\nhello________%d__________%d",i,j);
break;
//printf("\nANU");
}
printf("\nANU____%d______%d",i,j);//for i=0 i=1 i=2 i=3 i=4 i=5...this statement is printed.no. of times for every single value of j
}
//printf("\nANU");
}//after 10 times of j...both loops will be over...& it comes out..