I'm working with a professor on research at the college i attend. My job currently is to convert his code from matlab to C. My problem is i have an array called:

double gp[ x] [ 4 ];

The thing is I don't know X because we will be reading in a array of numbers to GP. Basically I need a way to find the size of X from the array he reads in. I'm completely stumped and would like to know if anyone could help me with this problem.