title: Why do we prefer vectors instead of arrays in C++? Because of core dump?
body: <p>Whenever I had to write code in C++ which involved some kind of data structures I was always forced to use vectors instead of arrays. I liked arrays since they are primitive data types but there must be a reason behind it.</p>