Question

Q2: Assuming that all four of the following functions are defined, which one will be called by the function call square( 23. )?
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 )

Answer

This answer is hidden. It contains 25 characters.