Computer Science, asked by balikakonkale2036, 8 months ago

Assume that int a=3, b=4, c=-2.then what is the value of ++a + c

Answers

Answered by aparnanidamanuri25
3

Answer:

2

Explanation:

int a = 3, b =4, c = -2

++a + c = 4 + (-2)

            = 2

Since ++a represents the pre-increment of a, it indicates that the value of 'a' is incremented before using it in the expression.

Similar questions