hello Everybody,
I had been to one interview. There were few questions about shift operator.
1)what is the value of 4>>>5(not sure whether it is <<< or >>>
. I know that >>> stands for XOR operation. 4=0100, 5=0101. xor for these is 9=1011.
But, i came to know that the answer is wrong.
Can any one help in solving this problem? what is the value of 4>>>5?
Also, what is the value of 2>>3? what are the steps to solve about two problems?
Please guide me??
Regards,