ExamVeda
Login
Home
Operators and Expressions in C Sharp
?

What will be the output of the following C# code?
static void Main(string[] args)
{
     int a, b, c, x;
     a = 90;
     b = 15;
     c = 3;
     x = a - b / 3 + c * 2 - 1;
     Console.WriteLine(x);
     Console.ReadLine();
}

Answer & Solution
Correct Answer: Option C
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.