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 slowest type of mass movement, Which involves the lifting and contracting of soil particles overtime, is called
According to this astronomer's depiction of Venus' orbit, Venus is an average of ______ million miles from the Sun. (Enter only the number.)
You watch a criminal trial on television where the suspect never takes the stand in defense. suspects have that right under the
Which would not increase voltage and generate an electrical current? A. a car battery B. a thick wire C. a solar cell D. a generator
Complete the sentences with the correct form of the verbs in brackets. Use the correct past tense or used to. 1. We (go) to the same seaside town on holiday eve
What element is a gas with a mass number of 19?
Libaray of congress is the responsibilty of which govrrnebtal branch
What device that converts energy of motion into eletrical energy?
Please help me out on this question
According to Renaissance philosophy, commoners often represent