Vidyalelo
C++ Programming · Q511

C++ miscellaneous

Programming · C++ Programming · question 511

Q511

Which of the following function is used to get the actual number of elements stored in vector?

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

Answer: Option A

Solution

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