

InterviewSolution
Saved Bookmarks
1. |
What is a constructor? State one difference between a constructor and any other member function of a class. |
Answer» Constructor is a member function used to create and initialise the object with legal set of values. Constructors have same name as that of class while functions have different names. |
|