A macro must always be defined in capital letters.
Answer: Option B
Explanation:
FALSE, The macro is case insensitive.
Macros have a local scope.
False, The scope of macros is globals and functions. Also the scope of macros is only from the point of definition to the end of the file.
Every C program will contain at least one preprocessor directive.
False, the preprocessor directive is not mandatory in any c program.
Preprocessor directive #ifdef .. #else ... #endif is used for conditional compilation.
Answer: Option A
True, these macros are used for conditional operation.
#if <constant-expression> #elif <constant-expression> #endif
Macros with arguments are allowed
True, A macro may have arguments.
Example: #define CUBE(X)(X*X*X)