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--
i) cout<<*i1;
ii) i2 can be used with == operator
iii) *i1 = 1
iv) i2--
A. i and ii
B. i only
C. i, ii and iv
D. iii and iv
Answer: Option B
Join The Discussion