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

b. C++11 allows you to provide a default value for a data member when you declare it in the class declaration.

Computer Science & Information Technology

You might also like to view...

What allows you to manage a group of iSCSI devices from a central server?

A. iSNS Server B. iSCSI Target Server C. NFS iSCSI role service D. NFS data store

Computer Science & Information Technology

Which Ethernet standard works only in full duplex mode, uses Cat 6a cabling, and does not use CSMA/CD?

A. 100BaseT4 B. 10GBaseT C. 1000BaseX D. 100VG-AnyLAN

Computer Science & Information Technology