When should i initialize an array?

for example I had a program where i copied an array to another array through looping..I couldn't get correct results until I initialized the second array like this sentence[100]={0};
If you will overwrite the contents anyway then there is no reason to explicitly initialize it.
Topic archived. No new replies allowed.