C++ Template Question:
Download Questions PDF

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

C++ Template Interview Question
C++ Template Interview Question

Answer:

a) It can be used to pass a type as argument

Download C++ Template Interview Questions And Answers PDF

Previous QuestionNext Question
Can you please explain the difference between a template class and class template?Which keyword can be used in template?
a) class
b) typename
c) both a & b
d) function