Exercise"Forgiveness is a virtue of the brave."
- Indira Gandhi
|
C Programming - Expressions
|
| 6. |
In which order do the following gets evaluated
| 1. |
Relational |
| 2. |
Arithmetic |
| 3. |
Logical |
| 4. |
Assignment |
|
Answer: Option A
Explanation:
1. Arithmetic operators: *, /, %, +, -
2. Relational operators: >, <, >=, <=, ==, !=
3. Logical operators : !, &&, ||
4. Assignment operators: =
|
|
|
|