Vidyalelo
C++ Programming · Q369

C++ miscellaneous

Programming · C++ Programming · question 369

Q369

If i1 is Input Iterator and i2 is Output Iterator, then which of the following things are correct? i) cout<<*i1; ii) i2 can be used with == operator iii) *i1 = 1 iv) i2--

A.
i and ii
B.
i only
Answer
C.
i, ii and iv
D.
iii and iv

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board