Q24
What is the output of the following code: int max(int a, int b) return (a > b) ? a : b; int main() cout << max(5, 5); in C++?
A.
10
B.
0
C.
5
AnswerD.
Compilation error due to ambiguous function call
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board