TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
TIOBE - C Coding Standard
Search

SR:  9.1#2Checked automatically with code checker

Synopsis:Only a conventional case .. default construct may follow a switch statement.
Language:C
Severity Level:3
Category:STATEMENTS


Description:
This rule is to prevent the use of strange constructs such as:

Example:

switch( n )
{
    do
    {
    case 7:
        ...
    } while ( ... );
}