Ask Question
25 October, 23:14

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

True

False

+1
Answers (1)
  1. 25 October, 23:35
    0
    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.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “The expression vecCont. empty () empties the vector container of all elements. True False ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers