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

Rule:  6.8.6.1.aChecked automatically with code checker

Synopsis:The "goto" statement shall not be used.
Language:C
Severity Level:6
Category:Statement and Blocks


Description:

Justification

Use of the "goto" statement is unstructured and can always be avoided by properly structuring the flow of control.

Example

goto label;
label:
   i++; /* WRONG */