Hi,
I have a function returning float* where it's actually filled as an array in the returning function such that
float* some_fnc()
{
float *x=malloc(sizeof(float)*4);
x[0]=......
}
...
// in main
float y[4];
y=some_fnc();
however I get an "Incompatible types" error, is it normal? Is there a way to overcome this w/o declaring y as float* ?