Telegram Group 🔥🔥🔥 Get answers in minutes
Questions answered : 48 /50
Guy
Guy
Guy
Guy
Guy
+ 4981 more
Verified Answer verified

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; }

🗓 Dec 2, 2023

Answer is "5040"

Comments and Discussions

You don't need to login to post your comment

Comments:
30
Views:
60k
Likes:
120k
123 votes
Gabriella 🌐 India
give solution please
Was this answer helpful?
133 votes
Victoria 🌐 India
can anyone share the explanation, please?
Was this answer helpful?

Was your question answered?

Want to get famous? 📸

Answer question and get 🤩 high-lighted on our homepage.

Just Automated Logo

© 2017-2022 Foxoyo™
All rights reserved.

Facebook Connect with us