/in/foo.c: In function 'main':
/in/foo.c:62:5: error: variable-sized object may not be initialized
int height[n],reverseheight[n],A[n]={0},B[n]={0};
^~~
/in/foo.c:62:42: warning: excess elements in array initializer
int height[n],reverseheight[n],A[n]={0},B[n]={0};
^
/in/foo.c:62:42: note: (near initialization for 'A')
/in/foo.c:62:5: error: variable-sized object may not be initialized
int height[n],reverseheight[n],A[n]={0},B[n]={0};
^~~
/in/foo.c:62:51: warning: excess elements in array initializer
int height[n],reverseheight[n],A[n]={0},B[n]={0};
^
/in/foo.c:62:51: note: (near initialization for 'B')