+ 1

What are vectors in c++;

And explain them with example

17th Apr 2020, 3:38 PM
Vinayak Dutt
Vinayak Dutt - avatar
3 Réponses
+ 3
Vector is nothing but a dynamic array. They have the ability to resize itself automatically when an element is inserted or deleted, with their storage being handled automatically by the container.
17th Apr 2020, 3:42 PM
Arsenic
Arsenic - avatar
+ 2
Vinayak Dutt , you can learn almost everything about vector here👇 https://www.edureka.co/blog/vectors-in-cpp/
17th Apr 2020, 3:52 PM
Arsenic
Arsenic - avatar
+ 1
Thanks Arsenic can you give an example of vectors
17th Apr 2020, 3:45 PM
Vinayak Dutt
Vinayak Dutt - avatar