Computer Science, asked by Qassim6866, 6 months ago

If p= 5; find d = p++ + 5 + ++p

Answers

Answered by anupc501
1

Answer:

17

Explanation:

d=5++ +5+ ++5

 =5++ +5+ 6

 =5++ +11

 =16++

 =17

Answered by sandhrasiju2021
0

Answer:

p=5

d=5+5+7=17

Explanation:

Here we take the first output only:

d= 5  * its 5+1 but the computer take the first value.

d=5+5+7   * p has already turn into 6 at first but the computer print the first value so 1+6=7.

Similar questions