I've got a nested loop construct like this:
for(int i =0; i<3; i++ ){
    for(int j=0; j<4; j++)
    {
        if( ar[i][j]==0){
            flag=true; continue;        
        }else{
            flag=false; break;
        }       
    }
Now how can I break out of both loops. I've looked at similar questions,but the answers were available in java i want i c++.
 
     
     
     
     
    