150k views
4 votes
Function templates ___________.

a. are overloaded automatically

b. can be overloaded

c. are never overloaded

d. can be overloaded, but seldom are in common programming practice

User John Wales
by
5.3k points

1 Answer

3 votes

Answer:

Option B. can be overloaded

Step-by-step explanation:

These functions can be overloaded, it means that we can have functions with the same name as long as the types or the number or the arguments are different. A function template can be overloaded in two ways: with other function templates or with normal functions.

A normal function has not relation to a function template, it is not considered an specialization.

User Oral
by
4.4k points