initialize 2d array c 2b 2b memset

Solutions on MaxInterview for initialize 2d array c 2b 2b memset by the best coders in the world

showing results for - "initialize 2d array c 2b 2b memset"
Aitana
12 Feb 2020
1int arr[10][20] = {0};  // easier way
2// this does the same
3memset(arr, 0, sizeof arr); 
4