please predict the output of this program
Attachments:
Answers
Answered by
3
hey mate:
1)when p=1.
compiler jump to case (1)..and give
output value =1.
because a++ is post increment ...
so, in this case first we use value and next time increase its value.
2)when p=3.
compiler jump to case (3)...and give output value =3.
because c-- is post decrement ,so
in this case first we use value and next time decrease its value .
I hopes its helps u.
@abhi.
kunalvishnoi2018:
thank you very much
Similar questions