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

I have answered the question, but it's say's that the answer is wrong, my answer was 24.

19th Sep 2018, 1:39 AM
Lavetta Lewis
Lavetta Lewis - avatar
2 Answers
Either write the code snippet in, or save the code in your profile and put code link in the Description section. Currently your question is cropped because it exceeds character limits, they can't help you with partially shown info. And please use the tags section to mention the language involved, and words relevant with the question. * I will remove my note once I see you revise the original post.
19th Sep 2018, 5:50 AM
Answer is 30
15th Apr 2020, 5:20 PM
Akshaya Achu
Akshaya Achu - avatar