c++ vector versus array code example Example: c++ array vs vector //arrays have fixed size, but vectors don't