ExamVeda
Login
Home
Basic Syntax and Data Types in C Sharp
?

What will be the error in the following C# code?
Static Void Main(String[] args)
{
    const int m = 100;
    int n = 10;
    const int k = n / 5 * 100 * n ;
    Console.WriteLine(m * k);
    Console.ReadLine();
}

Answer & Solution
Correct Answer: Option B
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.