Why do we use vector in C++? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Why do we use vector in C++?

22nd Feb 2019, 9:50 AM
Sandeep
Sandeep - avatar
4 Answers
+ 3
Slightly only though. 😏 'Why do we use vectors' - just add a 'and not arrays?' to it and you have one question. Or: 'Vectors or arrays - how to decide which to use?'
22nd Feb 2019, 10:09 AM
HonFu
HonFu - avatar
+ 1
Why three times almost the same question?
22nd Feb 2019, 9:53 AM
HonFu
HonFu - avatar
0
Because three questions are different 😉
22nd Feb 2019, 9:57 AM
Sandeep
Sandeep - avatar
0
😅
22nd Feb 2019, 10:10 AM
Sandeep
Sandeep - avatar