From WikiChip
Standard Predefined Macros - C
< c(Redirected from Standard predefined macros - C)

The C standard predefined macros are a set of macros that must be defined by the implementation.

Predefined macros[edit]

Macro name since
__DATE__ C89
__FILE__ C89
__LINE__ C89
__STDC__ C89
__STDC_HOSTED__ C99
__STDC_VERSION__ C90
__TIME__ C89

Standard C values[edit]

Macro name version value
__STDC__ C89
__STDC_VERSION__ C90
__STDC_VERSION__ NA1 199409L
__STDC_VERSION__ C99 199901L
__STDC_VERSION__ C11 201112L