Discussion :: C#.Net MCQs
-
What will be the output of given set of 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;}
Answer : Option B
Explanation :
Be The First To Comment