Question: Which of the following function is used to get the actual number of elements stored in vector?

Options

A : v.size()

B : v.capacity()

C : v.max_size()

D : v.no_of_elements()

Click to view Correct Answer

Previous || Next

Cplusplus Programming Seq Con Vector Class 1 more questions

An expression for the calculation of cyclomatic complexity.

Which of the following gives the equation for y(m)?

Which among the following is a unit for electrical energy?

Which of the following(s) can be used to access the....

Which of the following(s) can be used to access the....

Which function is used to get the total capacity of....

What is the expression for the current in the capacitor....

The static resistance R of the diode is given by....

What is the expression for the current in the inductor....

The boil up ratio can be defined as ratio of

Chemical Engineering Basics - Part 1 more Online Exam Quiz

Cplusplus Programming Questions And Answers Stored Sequences

Cplusplus Programming References 2

Cplusplus Programming References 3

Cplusplus Programming Seq Con Array Class 1

Cplusplus Programming Seq Con List

Cplusplus Programming Seq Con Vector Class 2

Cplusplus Programming Standard Template Library

Cplusplus Programming Static Constant Keyword

Cplusplus Programming Stl Algorithms

Cplusplus Programming Stl Container Any 1