Q34
What is the output of the following code: int add(int a, int b) return a + b; int sum = add(3, 5); cout << sum; in C++?
A.
3
B.
5
C.
8
AnswerD.
Compilation error
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board