Q. What will be the output of the following C# code?
Code:using System;
class Program {
public static void Main() {
int i = 10;
Console.WriteLine(i++);
}
}
β
Correct Answer: (A)
10
using System;
class Program {
public static void Main() {
int i = 10;
Console.WriteLine(i++);
}
}
You must be Logged in to update hint/solution