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

Guideline:  9.5.2#5Checked automatically with code checker

Synopsis:Use a "for" loop construction for an infinite loop.
Language:C
Severity Level:8
Category:STATEMENTS


Description:

The following construction is recommended for an infinite loop:

Example:

  for (;;) 
{
...
}

The motivation for this is that it standardizes a construct conventionally achieved in many different ways.