I guess this is your line 12
double * point = alloc_vector(dim);
Warning text
warning: initialization makes pointer from integer without a cast
This means that the integer returned from alloc_vector()is automatically converted to a pointer, and you should not do this (nor should you throw, despite the warning prompts).
: #include, alloc_vector() , , , (), .
, include, .
double *alloc_vector(int);
15
for (i = 0.0, i < N; i++)
:
assgTest2.c:15: error: expected ';' before ')' token
for ( ). 1 .
for (i = 0.0; i < N; i++)