0
Why con't we use vectors instead of arrays ?
c++
2 RĂ©ponses
+ 2
Vectors occupies much more memory in exchange for the ability to manage storage and grow dynamically whereas Arrays are memory efficient data structure.
This can be a reason why we use arrays rather than vectors in C++
But if we see, vectors are dynamically sized which is a major advantage..!!.
+ 1
no one knows