Which of the following is not correct (in C++)?
A) Class templates and function templates are instantiated in the same way
B)Class templates differ from function templates in the way they are initiated
C)Class template is initiated by defining an object using the template argument
D)Class templates are generally used for storage classes
Solution:
B) C) D) are Correct
In C++ class templates and function templates are similar in the way they are both initiated. Class template are not used for storage class. Class templates and function templates are instantiated in the same way and Class template is not initiated by defining an object using the template.