vector twoVectors[2] = { { 1, 2, 3 }, { 4, 5, 6 } };
Above code generates two errors:
Array initialization of non-array type 'vector' Array initialization of non-array type 'vector'
This is wrong because a vector can be array initialized no problem.
vector v = { 1, 2, 3 };