1. | Which of the following statement is correct whenever an object goes out of scope? |
|||||||
Answer: Option C Explanation: No answer description available for this question. Let us discuss.
|
2. | Which of the following statement is correct about constructors? |
|||||||
Answer: Option C Explanation: No answer description available for this question. Let us discuss.
|
3. | To ensure that every object in the array receives a destructor call, always delete memory allocated as an array with operator __________ . |
|||||||||
Answer: Option C Explanation: No answer description available for this question. Let us discuss.
|
4. | Which of the following gets called when an object is being created? |
|||||||
Answer: Option A Explanation: No answer description available for this question. Let us discuss.
|
5. | How many times a constructor is called in the life-time of an object? |
|||||||
Answer: Option A Explanation: No answer description available for this question. Let us discuss.
|
6. | Which of the following statements are correct? |
|||||||
Answer: Option B Explanation: No answer description available for this question. Let us discuss.
|
7. | Which of the following statement is correct |
|||||||
Answer: Option D Explanation: No answer description available for this question. Let us discuss.
|
8. | Destructors __________ for automatic objects if the program terminates with a call to function exit or function abort. |
|||||||
Answer: Option C Explanation: No answer description available for this question. Let us discuss.
|