C++ Template Question:
Download Questions PDF

Can you please explain the difference between a template class and class template?


Template class: A class that has generic definition or a class with parameters which is not instantiated until the information is provided by the client. It is referred to a jargon for plain templates.

Cass template: The individual construction of a class is specified by a class template which is almost similar the way how individual objects are constructed by using a class. It is referred to a jargon for plain classes.

Download C++ Template Interview Questions And Answers PDF

Previous QuestionNext Question
What is Cass template?What is meant by template parameter?
a) It can be used to pass a type as argument
b) It can be used to evaluate a type.
c) It can of no return type
d) None of the mentioned