InterviewSolution
Saved Bookmarks
| 1. |
Pick the correct statement.(a) Input iterator moves sequentially forward(b) Input iterator moves sequentially backward(c) Input iterator moves in both direction(d) Input iterator moves sequentially downwardsThis question was addressed to me during an interview for a job.Origin of the question is Iterators topic in portion Algorithms, Objects & Iterators in C++ of C++ |
|
Answer» RIGHT answer is (a) INPUT iterator moves sequentially FORWARD Explanation: By definition Input ITERATORS moves sequentially forward. |
|