Q20
What is the output of the following code: int multiply(int x, int y) return x * y; int main() cout << multiply(3, 4); in C++?
A.
multiply(3, 4)
B.
12
AnswerC.
Compilation error due to missing return statement
D.
multiply(4, 3)
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board