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
Зареєструйся Зараз
або Підпишись на майбутні тести