Select the error in the given program : public static void Main() { const int m = 100; int n = 10; const int k = n / 5 * 100 * n ; Console.WriteLine(m * k); Console.ReadLine(); }
Correct Answer: Expression assigned to ‘k’ should be constant in nature.
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More C# MCQ Questions