Solved

Which of the Following Is True

Question 1

Multiple Choice

Which of the following is true?


A) You can initialize data members of a class only in the class's constructor.
B) C++11 allows you to provide a default value for a data member when you declare it in the class declaration.
C) You cannot initialize data members of a class.
D) None of the above

Correct Answer:

verifed

Verified

Related Questions