Multiple Choice
Assuming vecList is a vector container, the expression ____ deletes all elements from the container.
A) vecList.erase(position)
B) vecList.erase(beg, end)
C) vecList.clear()
D) vecList.erase(all)
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q4: The expression vecCont.empty() empties the vector container
Q5: The statement _ declares intList to be
Q6: _ iterators are forward iterators that can
Q7: An iterator of type const_reverse_iterator is used
Q8: The _ iterator is used to input
Q10: The general syntax to use an istream
Q11: The expression _ advances the iterator intVecIter
Q12: The function copy can perform only one
Q13: The typedef _ iterator is a read-only
Q14: The term deque stands for double-ended queue.