Question 42
The attributes of three arithmetic operators in some programming language are given below.
| Operator | Precedence | Associativity | Arity |
|---|---|---|---|
| + | High | Left | Binary |
| − | Medium | Right | Binary |
| * | Low | Left | Binary |
The value of the expression 2 − 5 + 1 − 7 * 3 in this language is ______.
Sign in to see the answer
Answers and explanations are free — they just need an account.