struct move {
int left;
int right;
int up;
int down;
};
struct move moves[CONFIG_VARIABLE_X];
Number of moves array is a configuration variable, it can be set to any value by developer.
Now, all the moves[x].right alone should be inited with value 1. I know that I can write a funciton and loop through and init the right member with 1, but is there any way to init this particular value in the definition itself above?