Which of the following statements are correct?
-
Relational and equality operators evaluate their operands to produce a true or false result.
-
The equality operators have the same level of precedence And associate right to left.
-
Relational operators all have the same level of precedence And associate right to left.
-
The precedence of relational operators is at a lower level Than the precedence of the equality operators.
Relational and equality operators in C/C++ indeed evaluate their operands and return a boolean result (true or false, represented as 1 or 0). This is their fundamental purpose - to compare values and produce a truth value. The other options are incorrect because both relational and equality operators associate left-to-right, and equality operators have lower precedence than relational operators.