Right shift operator

How is (s+e)>>1 used?

hello @priyeshant1104
if a is anynumber
then a>>1 is equivalent to a/2.

so here (s+e)>>1 is nothing but (s+e)/2

you will learn about bit shifting in ur bit manipulation playlist.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.