Doubt in output

Sir in this video at last why the capacity of 4 comes two times .

hi @issarrajendraprasad004_fff37d063f41c0ca that is just prining the capacity, its not changing for 3rd and 4th elements,
every time the vector becomes full its capacity doubles and remains same till is not full again

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.