The result of C expression 9/4*2 will be equal to _____?
The result of C expression 9/4*2 will be equal to _____?
Explanation
In C, 9 and 4 are integers, so 9 / 4 = 2 (integer division, fractional part is discarded).
Then, 2 * 2 = 4
In C, 9 and 4 are integers, so 9 / 4 = 2 (integer division, fractional part is discarded).
Then, 2 * 2 = 4