Computer Science, asked by pritambasu1009, 9 months ago

If c=2; find d=(++c)+(c++)+4​

Answers

Answered by sumit1202
2

Answer:

the correct answer for d is 9

Answered by Harshit07
3

Answer:

9

Explanation:

++c=3

c++=2 (c++ becomes 3after execution of this statement. but during this statement it remains 2)

d=(++c)+(c++)+4

=3+2+4=9

Similar questions