Question Detail

COS 102 test topic Objective Question

Question

Which operator among the following commonly holds the highest precedence in standard programming languages?
Options
A Logical AND (`&&`)
B Relational less-than (`<`)
C Parentheses `()`
Correct Answer
D Assignment (`=`)
Correct Answer

Option C is the correct answer.

Detailed Explanation

Parentheses override standard operator bindings and hold the highest precedence in evaluation orders.

Hint

No hint available

Question Info