C++20 sections · 1024 units
Open in Course

Quiz: Tuple Comparison

Knowledge check

Check Your Understanding

Is tuple(2, 5, 1) < tuple(2, 4, 9)?

  1. A.False, because 5 > 4
  2. B.Equal, because first elements match
  3. C.True, because 2+5+1 < 2+4+9
  4. D.True, because 1 < 9
Start the roadmap to answer the quizzes and solve the challenges