Which of the following statements regarding the #define directive in C is…
PYQ IBPS SO CRP SPL-XIII (2023)
Which of the following statements regarding the #define directive in C is incorrect?
- A.
#define can be used to create symbolic constants.
- B.
#define can define function-like macros with parameters.
- C.
Macros created using #define are expanded by the preprocessor before compilation.
- D.
#define can be used to create multi-line macros using the backslash (\) continuation character.
- E.
#define macros provide automatic type checking similar to C functions.
Attempted by 209 students.
Sign up free to check your answer
Sign up freeLoading lesson…

