Question: 1 8 . 3 Q 2 : An error occurs if: A non - reference, non - const, primitive data member is initialized in the
Q: An error occurs if:
A nonreference, nonconst, primitive data member is initialized in the member initialization list.
An object data member is not initialized in the member initialization list.
An object data member does not have a default constructor.
An object data member is not initialized in the member initialization list and does not have a default constructor.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
