Vidyalelo
C# Programming · Q67

Operators and Expressions in C Sharp

Programming · C# Programming · question 67

Q67

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

A.
78
B.
-84
Answer
C.
80
D.
98

Answer: Option B

Solution

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