C MCQs

Q1. Which of the following will be the correct output for the C#.NET program given below? namespace IndiabixConsoleApplication { class SampleProgram { static void Main(string[] args) { int num = 1; funcv(num); Console.Write(num + "", ""); funcr(ref num); Console.Write(num + "", ""); } static void funcv(int num) { num = num + 10; Console.Write(num + "", ""); } static void funcr (ref int num) { num = num + 10; Console.Write(num + "", ""); } } }


Warning: Undefined variable $test in /home/u978544338/domains/r4r.co.in/public_html/mcqs/exams-main-page.php on line 297

Question 1 of 15 (Total MCQS: 15 in paper )

@by R4R.CO.IN | Back to C