This is the code that I have written..
what I need is when the if statement will become true.. it should break out of the whole loop I mentioned in Italic
how to do it..
Code:for(i=0; i<3; i++) { for(j=0; j<3; j++) { scanf("%d",&sudoku[i][j]); } } for(i=0; i<3; i++) { for(j=0; j<3; j++) { if ( check_rows(i,j) == 0 ) printf("<<%d, %d>>",i,j); } }