Home
Online Exam Test[ MCQs ]
C/C Online Exam Test(MCQs :- multiple choice questions and answers. e.g C MCQS,C Mock Tests , C Practice Papers ,C Sample Test,C Sample questions)
Your Session ID :-Guest4354829
Question 1: 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 + "", ""); } } }
1, 1, 1, 1,
11, 1, 11, 11,
11, 11, 11, 11,
11, 11, 21, 11,
Total MCQS Questions are 15 in this paper
C
Search
Go!