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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!