D
Q. Is it mandatory to call a constructor to create an object?
Yes, you need a constructor every time you create an object in C++. If you do not specify any value for the object, then a default constructor is called and automatically assigns a default value to class variables.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. How can we make a class abstract?
Q. Which of the following is the correct way to define a destructor in a derived class in C++?
Q. Which of the following is used for comments in
Q. Which constructor function is designed to copy objects of the same class type?
Q. Ability of an operator or function call to take different forms is known as _______
Q. The default access level assigned to members of a class is ___________
Q. Which of the following is true?
Q. Which of the following is not a standard exception built in C++.
Q. Which of the following are member dereferencing operators in CPP? 1.* 2. :: 3. ->* 4. ::* 5. ->
Discusssion
Login to discuss.