lol, create an array of possible locations and randomly select one
use something similar to the the random questions
Code:
void position_add(VECTOR* pos){
VECTOR* vec_rndPos;
int int_rndPositionCount; //stores the number of random positions
int int_rndPositionSelected;

//function for adding position to the pool
void position_add(VECTOR* pos){
	
	int i = int_rndPositionCount;
	int_rndPositionCount++;
	
	vec_rndPos = realloc(vec_rndPos, sizeof(VECTOR) * (int_rndPositionCount));
	
	vec_set(vec_rndPos[i], pos);
}



use
Code:
position_add(vector(100, 200, 300));

for storing the positions
then
Code:
int_rndPositionSelected = random(integer(int_rndPositionCount)); //randomly generates a positions

will store selected positions id
and
Code:
//vec_rndPos[int_rndPositionSelected]; //stores the position

will give the positions you need