Write an expression whose value is the number of values that have been stored in v.

Write an expression whose value is the number of values that have been stored in v.

LANGUAGE:  C++

CHALLENGE:

Assume v is a vector that has been declared and initialized.
Write an expression whose value is the number of values that have been stored in v.

SOLUTION:


v.size();

Add comment