In which order do the following gets evaluated
1. Relational
2. Arithmetic
3. Logical
4. Assignment
Answer: Option A
Explanation:
2. Arithmetic operators: *, /, %, +, -1. Relational operators: >, <, >=, <=, ==, !=3. Logical operators : !, &&, ||4. Assignment operators: =