Using arrays; displaying array contents

I have a problem with what I think would be a simple solution but I can't seem to find it.

I have an array that stores four numbers inputted from a keypad. When I push a separate button I would like to have the contents of the array put into a variable and printed out as one four-digit number out the serial port.

There probably is something I am overlooking. Can anyone help?

int values[4] = { 1,2,3,4 };
int value = (1000*values[0])+ (100*values[1])+ (10*values[2])+ (values[3]);
Serial.println(value); //1234

While we’re on the subject of arrays, does the arduino support two dimensional arrays?

As many dimensions as you like (within memory limits)

I'd forgotten about pesky memory limits.

Thanks AlphaBeta.

Another way to do this would be to multiply the input value by 10 plus the value of the key pressed. So the values are added up as the user presses the keys rather than adding them up at the end of the input. Cheers!