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

name two methods scientists use to obtain empirical evidence
384.4 million In standard form
write 2 ratios equivalent to 3:11
how many times does 12 go into 44
Which statement describes a legal means used by the companies that built the transcontinental railroad to cut costs? A. They cut the salaries and bonuses of c
In the Sahara Desert one day it was 136oF. In the Gobi Desert a temperature of -50oF was recorded. What is the difference between these two temperatures?
When beginning a cardiorespiratory training regimen, it's best to plan for _______ sessions per week. a. five to seven b. two to three c. three to five d. o
what is equivalent to 5/8-3/4(8-1/3)
Suppose there are 15 jelly beans in a box (2 red, 3 blue, 4 white, and 6 green). A jelly bean is selected at random. What is the probability that the jelly bean
2.394 multiplied by 7.489