Vidyalelo
C++ Programming · Q945

C++ miscellaneous

Programming · C++ Programming · question 945

Q945

What is the difference between normal function and template function?

A.
The normal function works with any data types whereas template function works with specific types only
B.
Template function works with any data types whereas normal function works with specific types only
Answer
C.
Unlike a normal function, the template function accepts a single parameter
D.
Unlike the template function, the normal function accepts more than one parameters

Answer: Option B

Solution

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