Page 1 of 1

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

Posted: Wed Jul 13, 2022 7:53 pm
by answerhappygod
a) v.size()
b) v.capacity()
c) v.max_size()
d) v.no_of_elements()