24 ms·
but I've been using C for decades Chances are you haven't been using C much for hardware/low-level stuff, because the ^ operator is seldom seen outside of that
by userbinator 8y ago
but I've been using C for decades
Chances are you haven't been using C much for hardware/low-level stuff, because the ^ operator is seldom seen outside of that context.
On the other hand, the precedence of & and | (and likewise, && and ||) should be general knowledge: the former has the higher precedence, in analogy with multiplication vs addition.