1)

Correct output for the following set of code is :

class Program
{
public static void Main(string[] args)
{
int i, j;
i = (j = 10) + 20;
Console. WriteLine(i);
Console. WriteLine(j);
Console. ReadLine();
}
}


A) 20, 20

B) 30, 20

C) 30, 10

D) 10, 30

Answer:

Option C