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
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
Science,
4 months ago
Physics,
4 months ago
Social Sciences,
4 months ago
Science,
8 months ago
Math,
8 months ago
Math,
10 months ago
Business Studies,
10 months ago
Science,
10 months ago