Q773
What type of Iterator i1 is in the following C++ code snipet? ================ code ================ vector ::iterator i1; for (i1=v1.begin();i1!=v1.end();++i1) *i1 = 1; ======================================
A.
Input Iterator
B.
Output Iterator
AnswerC.
Both Input and Output Iterator
D.
Neither Input nor Output Iterator
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board