__cplusplus
In this section:
Description
An integer which is defined when the compiler runs in any of the C++ modes, otherwise it is undefined. When defined, its value is 201703L. This symbol can be used with #ifdef to detect whether the compiler accepts C++ code. It is particularly useful when creating header files that are to be shared by C and C++ code.
This symbol is required by Standard C.