Continue statement in C and C++

for ( int x = 0; x < 10; x++ )
  cout << x; // this code is never executed!
Continue causes the remaining code inside a loop block to be skipped and causes execution to jump to the top of the loop block.


Learn more about loops in C and C++