Examveda

What are Bi-directional iterators?

A. Iterator same as Forward Iterator

B. Forward Iterator that can be used in both directions

C. Iterator that can only be used to access the sequence from both sides

D. Iterator that can only be used to assign the sequence from both sides

Answer: Option B


Join The Discussion

Related Questions on C plus plus miscellaneous

What is the difference between '++i' and 'i++' in C++?

A. None of the above

B. They both have the same effect

C. '++i' increments the value of 'i' before returning it, while 'i++' increments the value of 'i' after returning it

D. '++i' increments the value of 'i' after returning it, while 'i++' increments the value of 'i' before returning it