Which function is used to get the total capacity of a vector?

a) v.size()
b) v.capacity()
c) v.max_size()
d) v.no_of_elements()

1 thought on “Which function is used to get the total capacity of a vector?”

Leave a Comment