If that's the case, he's asked the wrong question, because that type of problem has nothing to do with array initialisation.
We aren't mindreaders, and can be expected to divine an answer when somone asks a question that has no real relationship to the problem at hand.