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 _____________________ .


a. 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


No comments:

Post a Comment

The advantages of Outsourcing Web Development Services

In the present digital world, acquiring a solid web presence is essential for companies to flourish. A well designed site is much much more ...