Between the
int array[100][100];
And
int array[100][100]={0};
In the first one, when I print all the elements of the array then after 94th row, halfway through it, I start to get the garbage values but all the values before that are 0, whereas for the second one, all the values are 0.
Does not the first declaration too initialize with a default 0 value, and if it does not, howcome not all of the values in the array are garbage and why only after 94th row the garbage values are appearing?