33. | Which of the following statement is correct? |
|||||||
Answer: Option C Explanation: No answer description available for this question. Let us discuss.
|
34. | Which constructor function is designed to copy objects of the same class type? |
|||||||
Answer: Option D Explanation: No answer description available for this question. Let us discuss.
|
35. | For automatic objects, constructors and destructors are called each time the objects |
|||||||
Answer: Option A Explanation: No answer description available for this question. Let us discuss.
|
36. | Destructor has the same name as the constructor and it is preceded by ______ . |
|||||||
Answer: Option C Explanation: No answer description available for this question. Let us discuss.
|
37. | Can a class have virtual destructor? |
|||
Answer: Option A Explanation: No answer description available for this question. Let us discuss.
|
38. | What happens when a class with parameterized constructors and having no default constructor is used in a program and we create an object that needs a zero-argument constructor? |
|||||||
Answer: Option A Explanation: No answer description available for this question. Let us discuss.
|
39. | A constructor that accepts __________ parameters is called the default constructor. |
|||||||
Answer: Option C Explanation: No answer description available for this question. Let us discuss.
|