I was trying to find the answer to the following question, but was unsuccessful. I have the expression involving bit AND and bit OR (everything unsigned long):
A |= B & C
What is the order of evaluation in C++?
Is it A = A | (B & C)
or A = (A | B) & C
? Or it depends on the compiler version?
Thanks.
(A |= B) & C
andA |= (B & C)
.