May 2012
Intermediate to advanced
679 pages
16h 56m
English
1. True/False: For declaring function templates, all the arguments in template declaration must be generic (class T).
Answer: True
2. True/False: A function template can have more than one template argument.
Answer: True
3. True/False: “template” is a keyword.
Answer: True
4. True/False: Template creates different versions of a function at run time.
Answer: True
5. True/False: For declaring class templates, some of the arguments in template declaration may be non-generic ordinary data types.
Answer: True
6. In the template <class T> declaration, T stands for
Answer: (b)
7. A template class
Read now
Unlock full access