In short, you can initialize an array like this, by specifying each element in order:
int foo[] = {10,20,30}; // initialize elements 0, 1, and 2
int foo[] = {[50] 10, [51] 20, [52] 30}; // initialize elements 50, 51, 52
reply