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

Dan has a flower shop.Each day he displays 24 roses. He gives away 10 and sells the rest .Each day he displays 36 carnations.He gives 12 away and sells the rest
, "you don't choose a life, dad. you live one." what does that quote mean? do you agree with daniel? explain your opinion as to why you do, or do not agree with
-4 is greater than 4(2-w) greater than -12
2x-2<-12or2x+3>7 what is the solution to this compound inequality
What scientific principle would a plumber need to know when designing and installing plumbing a new construction
If you're on a car trip, and you've already done 13/17 of the trip, but there are still 80km to go, what's the total length in Km of the trip? And how many Km
How did the French and Indian war make the colonies ripe
How many hydrogen atoms are in 5.80 mol of ammonium sulfide
What are AIDS? I need to know.
How many credit hours does a student typically need to complete general education requirements at a four year college