Tell me when should we use container classes instead of arrays?
Submitted by: AdministratorIt is advisable to use container classes of the STL so that you don't have to go through the pain of writing the entire code for handling collisions, making sure its working well, testing it repeatedly with an overhead of time consumption.
Suppose you have some data that has values associated with strings and its fields consist of grades> in this situation you can directly use hash table instead of having it created by yourself.
Submitted by: Administrator
Suppose you have some data that has values associated with strings and its fields consist of grades> in this situation you can directly use hash table instead of having it created by yourself.
Submitted by: Administrator
Read Online C++ Containers Job Interview Questions And Answers
Top C++ Containers Questions
☺ | Explain different types of iterators, i.e. input_iterator, output_iterator etc? |
☺ | Can you please explain the difference between homogeneous and a heterogeneous container? |
☺ | Do you know what is a container class? What are the types of container classes? |
☺ | Tell me when should we use container classes instead of arrays? |
☺ | What are the C++ standardized container classes? |
Top C Plus Plus Language Categories
☺ | C++ Pointers & Functions Interview Questions. |
☺ | C++ Operator Overloading Interview Questions. |
☺ | C++ Exception Handling Interview Questions. |
☺ | C++ Virtual Functions Interview Questions. |
☺ | C++ Template Interview Questions. |