Send array to a function that prints the array

I'm working on a project for school, and I think my code needs rearranged. My problem is that I have a 2 dimensional array set up in my Main.cpp and code to display it. However, I would like to create a VOID function that I can send that array to and display it. Here is the array from Main.cpp:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
char q=186;
	char w=205;
	char e=200;
	char r=188;
	char gameBoardTable[8][9]={
		{q,	' ',	' ',	' ',	' ',	' ',	' ',	' ',	q},
		{q,	' ',	' ',	' ',	' ',	' ',	' ',	' ',	q},
		{q,	' ',	' ',	' ',	' ',	' ',	' ',	' ',	q},
		{q,	' ',	' ',	' ',	' ',	' ',	' ',	' ',	q},
		{q,	' ',	' ',	' ',	' ',	' ',	' ',	' ',	q},
		{q,	' ',	' ',	' ',	' ',	' ',	' ',	' ',	q},
		{e,	w,	w,	w,	w,	w,	w,	w,	r},
		{' ',	'1',	'2',	'3',	'4',	'5',	'6',	'7',	' '}
	};//Game Board 


The code to display the array looks like this(not in function form yet):
1
2
3
4
5
6
	for(int i=0; i<8; i++){
		for(int j=0; j<9; j++){
			cout<<gameBoardTable[i][j];
		}
		cout<<endl;
	}//for 


My question is, how do I pass a 2 dimensional array to a function? I can't seem to get a straight answer from searching.
Topic archived. No new replies allowed.