Hello
I am having no problem while returning 1 dimensinal array
But am having trouble with 3 dimenional array
No problem with this code
float Mat[][][];
float Mat[];
float *funct1(void)
{
return Mat;
}
void funct2()
{
float *Mat;
Mat=funct1();
}
But this doesnt work
float Mat[][][];
float *funct1(void)
{
Mat[][][]={........};
return Mat;
}
void funct2()
{
float *Mat;
Mat=funct1();
}
Is there anyway I can return 3 dimensional arrays ?