Just for clarification:
The definition of the array should be outside a function to make it global, otherwise its local.
Definition is:
The initialization of the array (assignment of values) should be inside a function, like Saturnus said. (In this case:)
epos[0][0] = -50;
epos[0][1] = 800;
epos[0][2] = 300;
epos[1][0] = 50;