In C++, which of the following groups of operators have the same level of precedence?

  • * and /
  • + and -
  • < and >
  • == and !=
In C++, the == (equality) and != (inequality) operators have the same level of precedence. This means that expressions involving these operators are evaluated from left to right, and they have equal precedence when compared to each other.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *