What is the function or purpose of Operator precedence?
- A. The set of rules that determines the order in which operators are evaluated in an expression. ✓
- B. A software design technique that breaks a program into separate, interchangeable modules.
- C. A data type used to represent a sequence of characters, such as text.
- D. A type system where variable types are checked at runtime rather than at compile time.
Correct answer
A. The set of rules that determines the order in which operators are evaluated in an expression.
Explanation
Operator precedence refers to the set of rules that determines the order in which operators are evaluated in an expression.