Computer Science, asked by homework8620, 1 day ago

What will be the value of P=P+++++i where i = 22 and P=3 initially

Answers

Answered by maya3227
7

Answer:

value of p=p++ + ++i is

Explanation:

calculation from left to right:

p++= 3 because its post increment

++i=23 its pre increment

so finally p++ + ++i is 3+23

i.e p= 26

Similar questions