c++ initialize array

C++
int foo [] = { 16, 2, 77, 40, 12071 };int foo [5];int arr[3] = {1, 5, 4};int nCount[] = {1, 2, 3, 4, 5};
Source

Also in C++: