What will happen when you attempt to compile and run the following code?

What will happen when you attempt to compile and run the following code?


A. the output is 10 10 10 10 12 12 12 12 20 20
B. reserve and resize means exactly the same
C. there are compilation errors
D. capacity is always smaller then size

Download Printable PDF. VALID exam to help you PASS.

Posted in: CPP

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.