Solved

Given the Following Template Function Definition, Which of the Following

Question 13

Multiple Choice

Given the following template function definition, which of the following is not a valid invocation of the function?
Template <class T>
Void swapT& left, T& right)
{
//implementation goes here, not relevant to the question
}
Int int1, int2;
Float flt1, flt2;
Char ch1, ch2;
String s1, s2;


A) swaps1,s2) ;
B) swapint1, int2) ;
C) swapch1, ch2) ;
D) swapint1, ch2) ;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions