Explain how the bitwise OR operator (|) works and provide an example.
Role: Software Engineer
Category: Software Engineering Fundamentals
Difficulty: easy
Interview Round: Other
Overview: Explain how the bitwise OR operator combines two integers bit by bit and work through an example in binary. Tests binary arithmetic, setting bits and combining flags with masks, and the difference between bitwise OR and short-circuit logical OR.