All challenges
Multiple ChoiceHard 30s

restrict

The restrict qualifier is a promise that:
Options
  1. 1The pointer is thread-local and is never shared across any threads at all
  2. 2The pointer is const and cannot be reassigned after its initial initialization
  3. 3The pointer is the only way to access the object in that scope, enabling optimization
  4. 4The object is immutable and cannot be modified through that pointer afterwards

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