1.

Which of the following is correct?(a) Input Iterators are used for assigning(b) Output Iterators are used for assigning(c) Both Input and Output Iterators are used for accessing(d) Both Input and Output Iterators are used for assigningThe question was asked in unit test.Question is taken from Iterators in chapter Algorithms, Objects & Iterators in C++ of C++

Answer»

The correct answer is (B) OUTPUT Iterators are used for ASSIGNING

Easiest explanation - INPUT Iterators are used for ACCESSING and Output Iterators are used for assigning.



Discussion

No Comment Found

Related InterviewSolutions