All challenges
Multiple ChoiceHard 30s

Strict Aliasing

Casting an int* to a float* and dereferencing it violates:
Options
  1. 1The ABI calling convention for argument passing
  2. 2The strict aliasing rule (undefined behavior)
  3. 3The const correctness rules the compiler enforces
  4. 4The C library contracts for memory allocation

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.

Play this in a 3-minute battle