InterviewSolution
Saved Bookmarks
| 1. |
Pick the incorrect statement.(a) Vectors have a dynamic size(b) Vectors are placed in contiguous storage(c) Insertion in vectors always takes constant time(d) Vectors insert the element at the endThe question was asked during an interview for a job.My enquiry is from seq_con Vector Class in chapter Class Hierarchies, Library & Containers of C++ |
|
Answer» The correct option is (c) INSERTION in vectors always takes CONSTANT time |
|