KyaPoocha.com

Huge Collection of Interview Questions


What is the difference between the size and capacity of a Vector ? 

The size is the number of elements actually stored in the vector, while capacity is the maximum number of elements it can store at a given instance of time.



If you liked this question/asnwer, make sure you
Subscribe to KyaPoocha.com RSS feed!


BOOKMARK THIS : BlinkList | del.icio.us | Digg it | Furl | reddit | StumbleUpon | Yahoo MyWeb |