Vidyalelo
C# Programming · Q54

Operators and Expressions in C Sharp

Programming · C# Programming · question 54

Q54

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();

A.
92
B.
89
C.
90
Answer
D.
88

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board