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()

Respuesta :

Answer:

A. vecList.erase(position)

Explanation:

Assuming vecList is a vector container, the expression vecList.erase(position) deletes all elements from the container.