

MCQOPTIONS
Saved Bookmarks
1. |
If two classes have exactly same data members and member function and only they differ by class name. Can copy constructor be used to initialize one class object with another class object? |
A. | Yes, possible |
B. | Yes, because the members are same |
C. | No, not possible |
D. | No, but possible if constructor is also same |
Answer» D. No, but possible if constructor is also same | |