lenelex.com
Home
Quizzes
Games
Register
Log in
Question 1 of 20
What is the output of the following code snippet?
short a = -5, b = -4, c = -1; Console.WriteLine(a + b / c);
A. -7
B. -9
C. -3
D. -1
E. -4
Links:
The Division Operator
The Addition Operator
Operator precedence and associativity