Computer Science, asked by mrudhulsankar, 3 months ago

Predict the output if p=5, q=3,r=2
a.++p-q*r/2
c. p-q-r*2+p
b. p*q--+r
d. p+=5*q+r*r/2​

Answers

Answered by santdas36
17

a) 6-3*2/2 = 3

b) 5-3-2*2+5 = 3

c) 5*3+2 = 17

d) 2+5*3+2*2/2 = 18

Similar questions