Computer Science, asked by NishmithaArjun, 1 year ago

Evaluate x=--c/2+b*8/b-b+a++/3, when a=4 b=3c=25.

Answers

Answered by arti44
3
X=24/2+3*8/3-3+4/3
because --c means first decrement it and then use i.e. --25 =24
a++ means first use as it is and then increment it i.e. 4++ =4
X= 12 +24/3-3+4/3
X=12 +8 -5/3
X=20-5/3
X= 55/3

NishmithaArjun: yah the ans is crct yaar thanks...
NishmithaArjun: sorry i replied to u little bit late
arti44: ok my little princess
Answered by Arslankincsem
0

X = 24/2 + 3 * 8/3 - 3 + 4/3 in light of the fact that - c implies first decrement it and after that utilization i.e. - 25 =24 a++ implies first use for what it's worth and after that increase it i.e. 4++ =4 X= 12 +24/3-3+4/3 X=12 +8 - 5/3 X=20-5/3 X= 55/3

Similar questions