C++20 sections · 1024 units
Open in CourseQuiz: unique Behavior
Knowledge check
Check Your Understanding
What does unique() do to array [1,2,2,3,2,2]?
- A.Throws an error
- B.Results in [1,2,3]
- C.Results in [1,2,3,2]
- D.Results in [1,2,2,3]
Knowledge check
What does unique() do to array [1,2,2,3,2,2]?