What does num>>1 mean in c++?
<p>I know this is a very simple question, but I'm having trouble finding the answer on google as it ignores the "&lt;&lt;" characters. If you have any advice for how I should search for things like this in the future that would also be much appreciated. I seem to recall its some kind of bitshift or something? But I don't really know what that means or how it works whether its just -1 or something else as if it is I don't know why the person wouldn't just use -1. Thanks</p>
