1. Describe how the data member of a class can be initialised in C++. 2. What is a constructor? What are the uses of declaring a constructor member function in a program? 3. What are the rule...




1. Describe how the data member of a class can be initialised in C++.


2. What is a constructor? What are the uses of declaring a constructor member function in a program?


3. What are the rule governing the declaration of a constructor?


4. When does a constructor member function is invoked in a class?


5. In what way a constructor is different from an automatic initialisation?






May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here