C Programming - Expressions - Discussion
|
|
|
|
Read more:"I never think of the future. It comes soon enough."
- Albert Einstein
|
| 6. |
In which order do the following gets evaluated
| 1. |
Relational |
| 2. |
Arithmetic |
| 3. |
Logical |
| 4. |
Assignment |
|
| [A]. |
2134 | [B]. |
1234 | | [C]. |
4321 | [D]. |
3214 |
Answer: Option E
Explanation:
2. Arithmetic operators: *, /, %, +, -
1. Relational operators: >, <, >=, <=, ==, !=
3. Logical operators : !, &&, ||
4. Assignment operators: =
|
|
|