1 & 0x01+1*3
-
what is result of the formula? 1 & 0x01+1*3 it is zero actually. I guess it equals 1&(0x01+1*3). I need a priority table of C operators to know c operators' priority for +-*/&|~% normally, * and / are executed before + and -. how about others, do you have a link for this?
-
what is result of the formula? 1 & 0x01+1*3 it is zero actually. I guess it equals 1&(0x01+1*3). I need a priority table of C operators to know c operators' priority for +-*/&|~% normally, * and / are executed before + and -. how about others, do you have a link for this?
Your guess is right: here you are "C++ Operator Precedence"[^]. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles]