Vidyalelo
Computer Science · Q350

Object Oriented Programming Using C++

Engineering and GATE · Computer Science · question 350

Q350

Reference variables and const class members _____

A.
must be assigned values in any derived class
B.
must never be initialized in a base class
C.
must be initialized, rather than assigned values
Answer
D.
must not exist if a class is to be a base class

Answer: Option C

Solution

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