Which of the following is valid template prefix?
a) template <class T>
b) template <class Me>
c) template <class T, class Me>
d) all of these
Which of the following is preceded with a function template?
a) template
b) template <class int>
c) template <class T>
d) template <void>
Which of the following correct template prefix?
a) template < class T>
b) template <Class>
c) <template> class T
d) all of these
Writing a template class ……
a) allows user to skip implementation
b) allows user to write definitions
c) both a & b
d) none of these
When a function template required?
a) details of function independent
b) all functions be functioning template
c) different function have different
d) two functions have same parameters
Which of the following is used to define generic definition of function?
a) method
b) template
c) function
d) polymorphism