How is dynamic array different from array and vector?
What is the difference between vector and dynamic array?
hello @priya_Jain
vector is implemented using dynamic array i.e vector internally uses dynamic array only .
one difference that comes to my mind is of scope The array memory allocated for vectors is released when the vector goes out of scope.
but if we are using dynamic array then memory will not released