filling 2d array with 0 c++

C++
int a[x][y];
std::fill(a[0], a[0] + x * y, 0);
Source

Also in C++: