how to make an array c++

C++
string cars[4] = {"Volvo", "BMW", "Ford", "Mazda"};int foo [5];int foo [] = { 16, 2, 77, 40, 12071 };
Source

Also in C++: