0

What is the output of this code?

static int test(out int x,int y=4) { x=6; return x*y; } static void main (string []args) { int a; int z=test(out a); Console. WriteLine(out a+z); }

4th Aug 2022, 3:29 PM
Ash Ketchum
3 Answers
+ 2
answer=30
4th Aug 2022, 3:29 PM
Ash Ketchum