New course! Every coder should learn Generative AI!
Try a free lesson0
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); }
1 Answer
+ 2
answer=30