That is a relly simple task, so I give you only some tips:
use clearer var and function names,
not x()
use debug output (printf) in critical code pathes like function call and if statement
(remove oe comment out when not more needed)
write some test data, with simple array so you can debug your code
one bug is that your max_e is wrong. You assign the index not the value.
if (array[i][j] > max_e ) {
printf("new max found: %d", array[i][j] );
max_e = array[i][j];}
should be correct.
You should also guard that size cant be greater than 50.