Am I correct?

Am I right in these two statements?

A(n) vector array is like several arrays of the same type put together..

The C++ has no array subscript checking, which means you can inadvertently store date past the end of an array.

Please check the underlined ones, am I right?
lanti
I wouldn't call a vector several arrays or call it a vector array. A vector is a container or are you talking about a multi-dimensional array?

Also with the second statement you can go before the beginning also try -1 or -2 as an offset.
Last edited on
then what can it be called other then vector array? :S
Well are you talking about STL container vector std::vector<int> a;? If yes, it is normally just called a vector. If you are talking about something like int a[3][2]; then a multidimensional array.
Topic archived. No new replies allowed.