Computer Science, asked by chaitanyadaffodils, 8 months ago

Evaluate the following expression, if the values of the variables are int p,k=8,m=11,r=7; [2]

p=(r++%7)+(--m%5)+k*(++k-8)​

Answers

Answered by nishitsomani
0

Answer:

8

Explanation:

(r++%7)+(--m%5)+k*(++k-8)

(7 8%7)+(10 10%5)+8*(9 9-8)

0 + 0 +8 *1

=8

therefore answer is 8

Similar questions