Function template - Functions
Q. In a program, If there exists a function template with two parameters and normal function say void add(int , int), so add(3,4) will _____________________ .- Published on 19 Jul 15a. Invoke function template body as it is generic one
b. Invokes normal function as it exactly matches with its prototype
c. Not be called and Compiler issues warning
d. Not be called and Compiler issues ambiguity in calling add()
ANSWER: Invokes normal function as it exactly matches with its prototype