0

operations done by >> or << operators

what is the use of the above operator and where is it used

17th Aug 2016, 4:35 PM
Ramkrishna Birajdar
Ramkrishna Birajdar - avatar
2 Antworten
+ 2
these are shift operators used in binary calculations ex: 14 <<2 14 in binary : 00001110 shit 2times from left : 00111000 ans: 56 << is left shift >> is right shift these are rarely use in realtime but if u have a situation where u need to decide between 2 high order and low order bytes then these are very usefull
17th Aug 2016, 5:15 PM
Manish Pandey
Manish Pandey - avatar
0
it's a shift operator
2nd Sep 2016, 6:16 PM
arun kumar
arun kumar - avatar