Difference between vector<> and array() in C++
In C++, both vectors and arrays are used to store collections of elements, but they have significant differences in terms of flexibility, functionality, and usage. Here's a comparison of the two:
Arrays
Static Size:
The size of an array must be kno...
viruscage.hashnode.dev3 min read