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

SR:  9.1#3Checked automatically with code checker

Synopsis:A label should be on a separate line
Language:C
Severity Level:9
Category:STATEMENTS


Description:

The following code is not accepted

switch( j )
{
    case 0: i++;
        break;
    default: break;
}

It should have been

switch( j )
{
    case 0: 
        i++;
        break;
    default: 
        break;
}