Page 1 of 1

What is the difference between normal function and template function?

Posted: Wed Jul 13, 2022 7:52 pm
by answerhappygod
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
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