What does the bitwise right shift operator (>>) do? Give an example.
Role: Software Engineer
Category: Software Engineering Fundamentals
Difficulty: easy
Interview Round: Other
Overview: Explain what the bitwise right shift operator does to the bits of an integer and work through an example. Tests binary representation, arithmetic versus logical shifts, how negative numbers round compared with integer division, and how the rules differ across languages.