Multiple ChoiceIntermediate 45s
alignas effect
What does `alignas(64)` on a variable guarantee?
Options
- 1The object is padded out to occupy exactly 64 bytes in memory, regardless of its real type.
- 2The object's address is a multiple of 64 — useful to avoid false sharing on cache lines.
- 3The object is placed in read-only memory so that its contents can never be modified.
- 4The object is allocated once per thread, hiding it from other threads that access it.
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.