1

Which of the following is not correct (in C++)? 1. Class templates and function templates are instantiated in the same way 2. Class templates differ from function templates in the way they are initiated 3. Class template is initiated by defining an object using the template argument 4. Class templates are generally used for storage classes

Correct Answer: (2), (3), (4)

Make the most of this question

This page focuses on one CPP Programming question from Engineering. After checking the answer, return to the topic list to practice more or run a timed set.

CPP Programming MCQ: Which of the following is not correct (in C++)? 1. Class templates and function templates are instantiated in the same way 2. Class templates differ from function templates in the way they are initiated 3. Class template is initiated by defining an object using the template argument 4. Class templates are generally used for storage classes | Extra Education