Vidyalelo
C# Programming · Q100

Basic Syntax and Data Types in C Sharp

Programming · C# Programming · question 100

Q100

What will be the output of the following C# code? class Program public static void Main(string[] args) int i, j; i = (j = 5) + 10; Console. WriteLine(i); Console. WriteLine(j); Console. ReadLine();

A.
15, 15
B.
10, 5
C.
15, 5
Answer
D.
10, 15

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board