Solved

If a Vector Named Numbers Has 20 Elements in It

Question 66

Multiple Choice

If a vector named numbers has 20 elements in it, what is the result of executing the following statement?
Numbers.resize10) ;


A) no change
B) the first 10 elements are removed
C) the last 10 elements are removed
D) this causes a run-time error

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents