Computer Science, asked by sahinreja, 1 year ago

Evaluate the following expression according to operator precedence used in C. 10-3%8+6/4

Answers

Answered by kelvooid
5
6/4 will be evaluated first,
3%8 next,
remainder of 3%8 + quotient of 6/4
then 10 - the sum of the others

10-3%8+1.5
10-2+1.5
10-3.5
6.5
Similar questions