While performing Bitwise XOR between three operands, can’t we perform directly three operends together?? Why do we need to perform first two operends and the output of those two is performed with operend no. three??
Douby in bitwise XOR
It has to be done in a sequence. The ^ (bitwise XOR) in C or C++ takes two numbers as operands and does XOR on every bit of two numbers. The result of XOR is 1 if the two bits are different.
This operation is done on 2 numbers at any moment.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.