in compiler directives, #ifdef stand for
a) if
b) if define
c) else if
d) none
Answers
Answered by
0
if define, it check the macro constant is difine or not
Answered by
0
Ifdef is a directive. A directive in computer science refers to a language construct that actually specifies how machine should process the input.
#ifdef stands for if defined.
It has the following syntax: #ifdef identifier newline.
It is used to check whether the identifier is currently defined or not. This means, if the identifier is not defined in a given segment, it will be undefined while If such identifiers have not been subsequently undefined, they are considered currently defined.
Similar questions