Q56
What will be the output of the following C# code? static void main(string[] args) int i; int res = fun (out i); console.writeline(res); console.readline(); static int fun(out int i) int s = 1; i = 7; for (int j = 1; j <= i; j++ ) s = s * j; return s;
A.
4490
B.
5040
AnswerC.
5400
D.
3500
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board