c++ initialise array

C++
int arr[3] = {1, 5, 4};int nCount[] = {1, 2, 3, 4, 5};
Source

Also in C++: