All challenges
Multiple ChoiceBeginner 45s

span first subview

For std::span<int> s of size 10, what does s.first(3) return?
Options
  1. 1A copy of the first 3 elements
  2. 2A span referring to the first 3 elements
  3. 3An iterator to the 3rd element
  4. 4A 3-element std::array

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