Question:Which of the following statements are true about C++ vector class?
A vector::empty deletes all elements of the vector
B vector::erase can be used to delete a single element and a range of elements of the vector
C After calling, vector::erase causes some of the iterators referencing the vector to become invalid
D vector::count returns the number of elements in the vector
E vector::size returns the number of elements in the vector
F vector::capacity returns the number of elements in the vector
+ AnswerE
+ Report