What is the difference between the >> and >>> operators?
What is the difference between the >> and >>> operators?
Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Aviance School is one of the largest web solutions platform in India for developers to learn and share their programming knowledge and build their careers.
>> operator to shift bits, the right most bit of a signed number is lost and a new bit is added on left most position.
>>> operator doesn’t preserve sign and always adds zero into left most position.