Question: When is the constructor called in the C++ program? When object of a class is created When class is defined None of the above When




When is the constructor called in the C++ program? When object of a class is created When class is defined None of the above When data element of a class is declared Choose the right option string x,y; both x and y are pointer to string types x is a pointer to a string, y is a string y is a pointer to a string, x is a string none of the mentioned The correct statement for a function that takes pointer to a float, a pointer to a pointer to a char and returns a pointer to a pointer to a integer is int fun(float , char ) int *fun(float , char ) int fun ( float, char) int fun ( float , char ) Every program must have a constructor. True False
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
