Question: consider the following code snippet: class Af public: Alint x){ class B[ A obj; in order to initialize the member obj in class B,
consider the following code snippet: class Af public: Alint x){ class B[ A obj; in order to initialize the member obj in class B, we use a. a pointer to an object of type A O b. initializer O c. constructor d. All other answers are wrong
Step by Step Solution
3.35 Rating (158 Votes )
There are 3 Steps involved in it
Class A public Aint x class B A obj Ans Constructor In order to ... View full answer
Get step-by-step solutions from verified subject matter experts
