int array1[ size ]; // size is an int
int array2[ size ]; // size is an int
// But
int array1[ size1 ][ size2 ]; // two dimensional, size1 and size2 is an int
int array2[ size1 ][ size2 ][ size3]; // three dimensional
// .................
You can't use this technique to achieve this, but use a stuct or class to represent the related data you want to manipulate.
Or use the technique explained by Obsever, MiiNiPaa or kemort...