- 2
int array [5] = {5}; ? what the element in the array of the following code ?
2 Answers
0
this kind of initialization is bad if I would say, because when you decided to access the arrays which you do not assign, then you start getting problem, I read a programming tips sometimes ago it says "initialize your array like you initialize you variables too', it did not make sense at first until I discover it's true,
to your question from 1-4 should be which am not sure about because it could vary 0 and 0=5
0