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

numbers.resize(10);
a. no change
b. the first 10 elements are removed
c. the last 10 elements are removed
d. this causes a run-time error

c. the last 10 elements are removed

Computer Science & Information Technology

You might also like to view...

For successful usability testing, a realistic ________ should be set up where the user is given a list of tasks to perform in the application

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which of the following is the radio frequency and data rate for 802.11g as specified by the IEEE standards?

A. 2.0 GHz at 33 Mbps B. 2.4 GHz at 54 Mbps C. 2.4 GHz at 128 Mbps D. 5.0 GHz at 54 Mbps

Computer Science & Information Technology