InterviewSolution
Saved Bookmarks
| 1. |
Which container in c++ will take large objects?(a) string(b) class(c) vector(d) string & classI have been asked this question at a job interview.Origin of the question is Large Objects topic in chapter Source Files, Classes and Operator Overloading in C++ of C++ |
|
Answer» CORRECT ANSWER is (c) vector To explain I would say: Because the vector is mainly used to STORE LARGE objects for the game programming and other operations etc. |
|