1.

which keyword is used to define the macros in c++?(a) macro(b) define(c) #define(d) #macroThis question was addressed to me during a job interview.Question is taken from Macros in chapter Functions, Namespaces & Exceptions in C++ of C++

Answer» CORRECT OPTION is (c) #define

The explanation is: #define is the KEYWORD which is USED to define the MACROS in c++.


Discussion

No Comment Found

Related InterviewSolutions