All challenges
Multiple ChoiceBeginner 45s

Pointer to const vs const pointer

Which declaration means 'pointer that cannot be reassigned but points to a mutable int'?
Options
  1. 1`const int* p;`
  2. 2`const int* const p;`
  3. 3`int* const p;`
  4. 4`int const** p;`

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