Iterator Positions and end()
Trace the iterator, then choose what happens at the final line.
1std::set<int> values;2values.insert(21);3values.insert(7);4values.insert(14);5 6auto it = values.begin();7++it;8++it;9++it;10 11std::cout << *it;What happens when this code tries to print *it?
0 of 1 done