adspace
Answer Posted / Abhay Murari
The size of a vector in C++ refers to its capacity (the maximum number of elements it can currently hold) or its size (the number of elements currently stored). By default, when you create a vector without specifying the initial size, it starts with a small buffer and automatically grows as more elements are added. The specific values depend on the implementation of the C++ Standard Library.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers