Q65
What will be the output of the following C++ code? #include using namespace std; int f(int &x, int c) c = c - 1; if (c == 0) return 1; x = x + 1; return f(x, c) * x; int main(int argc, char const *argv[]) int a = 4; cout<<f(a,a); return 0;
A.
343
AnswerB.
336
C.
120
D.
840
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board