1.

What is the use of checked iterators?(a) Overwrite the bounds of your container(b) Not allow you to overwrite the bounds of your container(c) It will check the list value(d) Overwrite the bounds of your iteratorsThis question was addressed to me in final exam.My query is from Checked Iterators in section Algorithms, Objects & Iterators in C++ of C++

Answer»

The correct OPTION is (b) Not allow you to OVERWRITE the bounds of your CONTAINER

Explanation: Checked ITERATORS ensure that you do not overwrite the bounds of your container.



Discussion

No Comment Found

Related InterviewSolutions