Programming - Interfaces - Discussion

You Are Here :: Home > C++ Language > Interfaces - Discussion

 



Q.

Which of the following type does the container should define?                         


A. Iterator type B. Vector type
C. Storage type D. None of the mentioned

Answer: Option A
Explaination:

 


Every container must define an iterator type. Iterators allow algorithms to iterate over the container’s contents.




Discussion

Your Comments Goes here...
NameDiscussion