Computer Science, asked by gayathrikarapa, 10 months ago

assume int a=3, b=4, c=-2;what is value of ++a+b++​

Answers

Answered by Rohith200422
7

Answer:

a=3 ,b=4

a+b=4+3

=7.

Hope you may like my answer.

Answered by nidaeamann
4

Answer:

9

Explanation:

The given expression can be sub divided into the below parts

++a+b++​

(++a) + (b++)

In c computer language, ++ operator is a specific operator that will increment the value of data element by 1

Hence;

++a = 3 + 1 = 4

b++ = 4 + 1 = 5

And the complete expression could be

​(++a) + (b++) = 4 + 5 = 9

Hence the answer to expression is 9

Find more related information;

Difference between ==operator and =operator

https://brainly.in/question/13536101

Similar questions