Expressions - Programming

Q1:

In which order do the following gets evaluated
1. Relational
2. Arithmetic
3. Logical
4. Assignment

A 2134

B 1234

C 4321

D 3214

ANS:A - 2134

2. Arithmetic operators: *, /, %, +, -
1. Relational operators: >, <, >=, <=, ==, !=
3. Logical operators : !, &&, ||
4. Assignment operators: =