Question: Question 1 (2 points) Given a function template defined as the following: template ( T operatorname{myMax}(T x, T y) ) return ( (x>y) ? x:
Question 1 (2 points) Given a function template defined as the following: templateT> TmyMax(Tx,Ty) return (x>y)?x:y; Which of the following is the correct code to call this function to compare two string "This" and "That"? myMax("This", "That"); myMax("This", "That"); myMax((string)This, (string)That); myMax("This", "That")
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
