Multiple Choice
Assuming that all four of the following functions are defined, which one will be called by the function call square(23.4) ?
A) template<typename T> T square(T num)
B) template<typename T1, typename T2> T1 square(T1 num1, T2 num2)
C) int square(int num)
D) double square(double num)
Correct Answer:

Verified
Correct Answer:
Verified
Q1: The relationship between function templates and function-template
Q2: [C++ 11]:Which of the following is true?<br>A)
Q3: For a class template, the scope resolution
Q4: Function templates:<br>A) Can include objects of template
Q5: Class templates:<br>A) May include the statement template<typename
Q7: Nontype parameters are:<br>A) Unable to have default
Q8: Default type parameters are allowed only:<br>A) If
Q9: A function template can be overloaded by:<br>A)