Multiple Choice
An error occurs if:
A) A non-reference, non-const, primitive data member is initialized in the member initialization list.
B) An object data member is not initialized in the member initialization list.
C) An object data member does not have a default constructor.
D) An object data member is not initialized in the member initialization list and does not have a default constructor.
Correct Answer:

Verified
Correct Answer:
Verified
Q17: A client changing the values of private
Q18: A class-scope variable hidden by a block-scope
Q19: Which of the following is not true
Q20: Which of the following statements is false?<br>A)
Q21: If the line: friend class A;<br>Appears in
Q23: Which of the following preprocessor directives does
Q24: Member function definitions:<br>A) Always require the scope
Q25: For a non-constant member function of class
Q26: Which of the following statements is false
Q27: Variables defined inside a member function of