A

Admin • 833.24K Points
Coach

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

  • (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()
  • Correct Answer - Option(B)
  • Views: 37
  • Filed under category C++
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.