Q588
What will be the output of the following C++ code? #include using namespace std; template T max (T &a, T &b) cout b)? a : b; template <> int max (int &a, int &b) cout b)? a : b; int main () int a = 10, b = 20; cout (a, b);
A.
Template Called 20
B.
Called 20
AnswerC.
Error
D.
Segmentation fault
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board