An is used in C to guarantee the initialization of a class
Solution
Solution:
Constructor is used in C++ to guarantee the initialization of a class instance.
Solution:
Constructor has the same name as the class itself.
Solution:
In other object oriented languages Member functions are called methods.
Solution:
Destructor is a Member function that is automatically called to destroy an object.
Solution:
Dot operator used to call the member functions.
Solution:
Default constructor has no parameters.
Solution:
A ~ (tild) symbol declared before the name of the destructor declaration.
Solution:
A static member function has implementation given in the class declaration.
Solution:
The default constructor will be invoked for all the objects in the array.
(10) A constructor is a member function that is ________ invoked whenever a class instance is created
Solution:
Constructor is automatically invoked whenever a class instance is created.
