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.


d. An object data member is not initialized in the member initialization list and does not have a default constructor.

Computer Science & Information Technology

You might also like to view...

Write a series of statements that determine and display the smallest value in array t.

What will be an ideal response?

Computer Science & Information Technology

A connectivity port which transfers data at speeds up to 10,000 Mbps is ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

What is a soft proof?

What will be an ideal response?

Computer Science & Information Technology

The code to allow permission to access the Internet is ____________________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology