Vidyalelo
Computer Science · Q21

Object Oriented Programming Using C++

Engineering and GATE · Computer Science · question 21

Q21

The #ifndef directive tests to see whether ________

A.
a class has been defined
Answer
B.
a variable has been given a value
C.
a class has no variable definitions
D.
any objects of the class have been instantiated

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board