Code:
#include <stdio.h>
#include <string.h>
void display( char maze[12][12],int row, int column )
{
int i,j;
for( i = 0; i<12; i++)
{
for( j = 0; j<12; j++)
{
printf( "%c", maze[i][j]);
}
printf("\n");
}
int main()
{
int row = 2;
int column = 0;
int direction;
char maze[12][12] = {'#','#','#','#','#','#','#','#','#','#','#','#',
'#','.','.','.','#','.','.','.','.','.','.','#',
'x','.','#','.','#','.','#','#','#','#','.','#',
'#','#','#','.','#','.','.','.','.','#','.','#',
'#','.','.','.','.','#','#','#','.','#','.','.',
'#','#','#','#','.','#','.','#','.','#','.','#',
'#','.','.','#','.','#','.','#','.','#','.','#',
'#','#','.','#','.','#','.','#','.','#','.','#',
'#','.','.','.','.','.','.','.','.','#','.','#',
'#','#','#','#','#','#','.','#','#','#','.','#',
'#','.','.','.','.','.','.','#','.','.','.','#',
'#','#','#','#','#','#','#','#','#','#','#','#',};
return 0;
}