Vidyalelo
C++ Programming · Q215

C++ miscellaneous

Programming · C++ Programming · question 215

Q215

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

A.
v.size()
B.
v.capacity()
Answer
C.
v.max_size()
D.
v.no_of_elements()

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board