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

Guideline:  12.3#6

Synopsis:Use const to provide typed constants in preference to #define where legal and appropriate to do so.
Language:C
Severity Level:5
Category:PREPROCESSING


Description:
The type security provided by const and using functions instead of macros is very valuable and should be taken advantage of.