emilycjohnson7853 emilycjohnson7853
  • 13-07-2019
  • Computers and Technology
contestada

The expression vecCont.empty() empties the vector container of all elements.

True

False

Respuesta :

PhantomWisdom PhantomWisdom
  • 17-07-2019

Answer:

False

Explanation:

Vector is a similar to dynamic array which has the ability to resize itself automatically.

empty() is a function used in the vector.

It is used to check the vector is empty or not.

it does not delete the element in vector, it just check the vector is empty or not, if vector empty it gives a Boolean value True other wise False.

Therefore, the answer is False.

Answer Link

Otras preguntas

The death of bone tissue due to insufficient blood supply is called:
Huilan's age is two times Thomas's age. The sum of their ages is 54 . What is Thomas's age
What type of scoring is used in high school and college volleyball games ?
Your friend has applied to several medical schools. after receiving one rejection letter, she concludes that she will not be admitted to any school and feels de
What led many egyptian villagers to pray at local shrines and believe in the power of magical amulets?
HELP if f(x)=-14x-2, then f^-1(x)=?
the length of a shadow of a building is 31 m the distance from the top of the building to the tip of the Shadow is 36 M find the height of the building.
Explain who can be a victim of abuse and how to prevent it
What was the Enlightenment?
Maxine wishes to purchase a pair of running shoes made by her favorite brand. Her budget is limited, and she notices shoes made by a competing brand are on sale