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