| 17. | A __________ is a constructor that either has no parameters, or if it has parameters, all the parameters have default values. |
|||||||
Answer: Option A Explanation: No answer description available for this question. Let us discuss.
|
| 18. | If the programmer does not explicitly provide a destructor, then which of the following creates an empty destructor? |
|||||||
Answer: Option B Explanation: No answer description available for this question. Let us discuss.
|
| 19. | It is a __________ error to pass arguments to a destructor. |
|||||||
Answer: Option C Explanation: No answer description available for this question. Let us discuss.
|
| 20. | Which of the following are NOT provided by the compiler by default? |
|||||||
Answer: Option D Explanation: No answer description available for this question. Let us discuss.
|
| 21. | If the copy constructor receives its arguments by value, the copy constructor would |
|||||||
Answer: Option C Explanation: No answer description available for this question. Let us discuss.
|
| 22. | Which of the following cannot be declared as virtual? |
|||||||
Answer: Option D Explanation: No answer description available for this question. Let us discuss.
|
| 23. | Which of the following statement is correct |
|||||||
Answer: Option A Explanation: No answer description available for this question. Let us discuss.
|
| 24. | Constructors __________ to allow different approaches of object construction. |
|||||||
Answer: Option B Explanation: No answer description available for this question. Let us discuss.
|
