What is meant by preprocessor directive #define?
A. defines a character sequence
B. helps in determining existence and non existence of a symbol
C. can be used to create function like macros as in C/C++
D. All of the mentioned
Answer:A
What is meant by preprocessor directive #define?
A. defines a character sequence B. helps in determining existence and non existence of a symbol C. can be used to create function like macros as in C/C++ D. All of the mentioned
Explanation: The #define directive defines a character sequence called a symbol. The existence or nonexistence of a symbol can be determined by #if or #elif and is used to control compilation. #define which supports creation of function like macros in c/c++ does not support the same in C#.