Page 1 of 1

How the size of a vector increases once it is full?

Posted: Wed Jul 13, 2022 7:53 pm
by answerhappygod
a) Vector increases its capacity one by one
b) Vector doubles its capacity after it is full
c) Vector increases its capacity by half of its previous size
d) Vector increases its capacity by a constant factor