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

🎲 Try a Random Question  |  Total Questions in Quiz: 100  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
C++ Programming Practice Test 2 — practice the complete quiz, review flashcards, or try a random question.


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