Computer Science, asked by rajnikantdubey8616, 1 year ago

what is the answer of the following question
int=0,b=10,c=40

Answers

Answered by SatyamChoudhary
0

The --b is a pre-decrement operator. It decrements value of B by 1 before calculating.

So, b becomes 29 in calculation.

The c++ is a post increment operator. It increments the value of c by 1 after calculation. So in our case, c still remains 40

So, a= 29+40+29

a=98

So, answer is 98

Similar questions