LOGBOOK

HELP

REVE1 Logs


Q What does a | b do in C (bitwise OR)?

Bitwise OR sets each result bit to 1 where either input has a 1 — so 0x69 | 0x55 = 0x7D; it's the go-to operator for turning flag bits on. 0x69 | 0x55 → 0x7D 01101001 (0x69) | 01010101 (0x55) ────────── 01111101 (0x7D) Common uses: 1. Set specific bits: // Set the writ...

Quiz: REVE1 / C Programming | updated: Oct 30, 2026