Question: All STL iterator class types provide increment operators that allow the iterator to move to the next value in the container that it is iterating

All STL iterator class types provide increment operators that allow the iterator to move to the next value in the container that it is iterating over. Which of the following statements is true about the increment operators: 0 You should use the pre-increment operator to avoid making a copy of the original iterator. 0 You should use the post-increment operator to avoid making a copy of the original iterator. 0 You can use either one with equal performance since both have to make a copy of the original iterator. 0 It does not matter since neither has to make a copy of the original iterator
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
