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?

  1. A.

    #define can be used to create symbolic constants.

  2. B.

    #define can define function-like macros with parameters.

  3. C.

    Macros created using #define are expanded by the preprocessor before compilation.

  4. D.

    #define can be used to create multi-line macros using the backslash (\) continuation character.

  5. E.

    #define macros provide automatic type checking similar to C functions.

Attempted by 209 students.

Sign up free to check your answer

Sign up free

Explore the full course: Ibps So It Mains

Loading lesson…