Computer Science, asked by harshithak100306, 9 months ago

int a=8, b=9 find the value of ++a-++b+--a+--b*3​

Answers

Answered by manroop17
0

Answer:

++8-++9+--a+--b×3

9-10+now here the value of the first 9 after that will be reduced 8 and and same with b 10 -1 =9

totaly it will be

9-10+8+9×3

7+27

34

Explanation:

if we get ++ before the variable it mean it is to be increased by 1 and remain same for coming variable

if we get. ++ after the variable it means it will remain same for that variable but will be increased by 1 for the coming variable

same you can relate with ---

HOPE IT HELPS

Similar questions