C++ Programming Online Test – Multiple Choice Questions and Answers

1. For automatic objects, constructors and destructors are called each time the objects

 
 
 
 

2. Which of the following statement is correct?

 
 
 
 

3. Which of the following statement is correct?

 
 
 
 

4. Which of the following statement is incorrect?

 
 
 
 

5. Which of the following statement is incorrect?

 
 
 
 

6. Which of the following statement is correct?

 
 
 
 

7. Which of the following function / type of function cannot be overloaded?

 
 
 
 

8. Which of the following statement is incorrect?

 
 
 
 

9. When are the Global objects destroyed?

 
 
 
 

10. Which constructor function is designed to copy objects of the same class type?

 
 
 
 

Question 1 of 10

Leave a Reply

Your email address will not be published. Required fields are marked *