array declaration c++

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

Also in C++: