Solved

Which of the Following Is True

Question 8

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

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents