Vidyalelo
Computer Science · Q23

Object Oriented Programming Using C++

Engineering and GATE · Computer Science · question 23

Q23

The generic type in a template function

A.
must be T
B.
can be T
Answer
C.
cannot be T for functions you create, but may be for C++'s built-in functions
D.
cannot be T

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board