assume int a=3, b=4, c=-2;what is value of ++a+b++
Answers
Answered by
7
Answer:
a=3 ,b=4
a+b=4+3
=7.
Hope you may like my answer.
Answered by
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
English,
5 months ago
English,
5 months ago
Math,
5 months ago
Social Sciences,
1 year ago
Math,
1 year ago