Hi all,
Here is a sample …
double* foo () {
double result_reg[2];
result_reg[0] = ...
result_reg[1] = ...
return result_reg;
}
I am not sure the content of result will not be erased, when exiting from foo(). Am I right, or is there a function address space like stack in C?
Many thanks!