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

Rule:  6.5.3.1.bChecked automatically with code checker

Synopsis:Don't increment (decrement) a pointer to a function.
Language:C
Severity Level:2
Category:Expressions


Description:

The increment and decrement operators are not valid for pointers to functions. See the StackOverflow reference for more details. For instance:

  function_ptr++; /* WRONG */


Literature References:
StackOverflow