Q. What will be the output of the following C# code?
Code:
static void Main(string[] args)
{
int a = 5;
int b = 10;
int c;
Console.WriteLine(c = a-- - ++b);
Console.WriteLine(b);
Console.ReadLine();
}
β
Correct Answer: (C)
-6, 11