6. Evaluate the following expression
1. 17 – 8 / 4 * 2 + 3 - ++a where a=5
2. a + 2 >b || !c && a == d || a-2 <= e where a=11, b=6, c=0, d=7 & e=5
3. 100 % 20 <= 20 – 5 + 100 % 10 – 20 == 5 >= 1 != 20
4 . 22 + 3 <6 && !5 || 22 == 7 && 22-2 >= 5
5. 10 != 10 || 5 < 4 && 8 where a=1, b=3, c=7
6. a += b *= c-+5 where a=1, b=3, c=7
Answers
Answered by
1
Answer:
C Programming: Arithmetic and Logic Operations - IIT Guwahatihttps://www.iitg.ac.in › cs101-2017 › Lec06PDF
Given integer variables a, b, c, d, and e, where a = 1 b = 2 c = 3 d = 4 where a = 1, b = 2, c = 3, d = 4, evaluate the following expressions: a + b - c + d.
Explanation:
Similar questions