I have an array in a function call and i want it to be sent to the main program.
//prototype
float functionA(float f, float g);
.
.
.
float functionA(float f, float g)
{
f = f*5;
g = g*5;
float ArrayA = [g f];
return ArrayA;
}
in the main program:
float ArrayB = functionA(f, g)
This is what i thought of doing, but it doesnt work
I considered using pointers but im not sure how to use it