C++ continue vs break

for ( int i = 0; i < 5; i++) if ( i % 2 ) continue; // next point of execution is the for ( ... The continue statement above will not allow the program to execute any of the code below which is inside the same for loop. The next instruction to be executed will be the test for i < 5 in order to ascertain whether the code should continue running or not. The code below shows the use of the...
Read More
Top