Which of the following options return the number of elements in std::vector?
Explanation
Container std::vector doesn't have member function std::vector::length.
Container std::vector doesn't have member function std::vector::count.
std::vector::capacity returns the amount of memory useed.
std::vector::size returns the number of elements in the container.

Следи за CodeGalaxy

Мобильное приложение Beta

Get it on Google Play
Обратная Связь
Cosmo
Зарегистрируйся сейчас
или Подпишись на будущие тесты