Question 18
Which of the following preprocessor directives is used to define macros in C?
define
include
ifdef
undef
Which of the following preprocessor directives is used to define macros in C?
define
include
ifdef
undef
Correct answer
define
Question 18 of 26 in the IIT Madras BS Programming in C (Programming in C) End Term paper sat on 24 Dec 2023, in the September 2023 term (IIT M ES FOUNDATION FN EXAM FEF2 24 Dec 2023). It carries 4 marks.