"2 Dimensional"-Arrays?

I have seen a lot of people use arrays that don't look like this: int myArray[]= {2, 4, -8, 3, 2};

Instead, they seem to have additional rows ("2 dimensional") and they would have 2 Index numbers (row and column). Sort of like this: int myArray[] []= {2, 4, -8, 3, 2
2,2,-8, 3,2};

How do you declare and use these?

Thanks

http://forum.arduino.cc/index.php?topic=44228.0

bestanamnetnogonsin:
Sort of like this: int myArray[] []= {2, 4, -8, 3, 2
2,2,-8, 3,2};

How do you declare and use these?

int myArray[][5]= {
   {2, 4, -8, 3, 2},
   {2, 2, -8, 3, 2},
};

Each pair of brackets is often called a rank and you must supply all but one of the ranks. For example, in post #2 the array is a two dimensional array, or a rank 2 array. Since there can only be one "missing" dimension, one must be supplied.