Preprocessor Operators - C

Preprocessor provides us with an operator, which is called as defined operator.

#if is sometimes used along with defined operator which is used to verify if a symbolic constant is
defined or not.
defined(macro name) returns 1 if macro is defined.
Returns 0 if macro is not defined.


All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd Protection Status

C Topics