AND Operator :
If you
&
1 with any number, the digits remain the same.
Q: Given a number M, find out if it's even or not :
OR Operator :
XOR Operator (^):
If you XOR any number with 1 we'll get complement (opposite) of that number
Left Shift Operator (<<) :
NOTE :
Right Shift ( >> ) :
Interactive Graph
Table Of Contents
AND Operator :
OR Operator :
XOR Operator (^):
Left Shift Operator (<<) :
Right Shift ( >> ) :