Q894
What type can be used to replace templates from this function? template T func(T a, T b, U c) if(c == '+' || c) return a+b; else if(c == '-' || !c) return a-b;
A.
replace templates T, U with auto keyword
AnswerB.
replace templates T, U with generic keyword
C.
replace templates T, U with temp keyword
D.
replace templates T, U with GEN_TEMP keyword
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board