0
Can you explain why the result is 28 . Thanks in advance
2 Respuestas
+ 3
#define is a macro which is when used in a code, it is replaced.
So your expression will become 28 / 4 * 4
Precedence of multiplication and division is same so the expression will be evaluated from left to right.
As 28 / 4 = 7
Now expression will be 7 * 4 which is equal to 28
+ 1
Thank bro.