Lets say I have an array like
int arr[10][10];
Now i want to initialize all elements of this array to 0. How can I do this without loops or
Besides the initialization syntax, you can always memset(arr, 0, sizeof(int)*10*10)
memset(arr, 0, sizeof(int)*10*10)