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

SR:  9.4.1#1Checked automatically with code checker

Synopsis:Multiple choice constructs programmed using if ... else if ... shall have a "catch-all" clause.
Language:C
Severity Level:7
Category:STATEMENTS


Description:
Defensive programming requires the presence of else in a multiple choice construct.