Creating increment or consecutive variable

Anyone know how to create increment or consecutive variable
ex: a1 a2 a3...
ex: a1 a2 a3...
Game Editor discussion board
http://game-editor.com/forum/
int array[10]; // creates 10 variables
array[0]=1;
array[1]=4;
array[2]=7;
array[3]=9;
// etc