Abraxas/ECS C++ Home  Table of Contents 

Module - 145.html

ABRAXAS SOFTWARE - CodeCheck ECS C++ Test-Suite ECS C++.

ECS C++-C Test Suite for Module - 145.cpp

/*

145. Avoid break and continue in iteration statements.

*/



Function Name: main()

main() {
  while ( 1 ) {
    
        
     break;      // no
     
     continue;   // no
  }
    for ( ;; ) {
      

// Avoid break and continue in iteration statements.

      
      break;
      
    }
}

Abraxas/ECS C++ Home  Table of Contents

ABRAXAS SOFTWARE - CodeCheck ECS C++ Test-Suite ECS C++