Ask Question
1 July, 10:04

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

True

False

+1
Answers (1)
  1. 1 July, 11:06
    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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers