Define Bitwise Left Shift and Right Shift Operators: <<, >>?
The bitwise shift operators shift their first operand right (>>) or left (<<) by the number of positions the second operand specifies. In the following instance the right shift operator moves the data bits two positions to the right therefore changing the value of nNumA:
// Illustration of the bitwise right shift operator
int nNumA=8; // beginning value is 8
nNumA >> 2; // ending value is 2