I need help in the Syntax of this

Hi,
here is another solution:

float *ReturnArray()
{
   static float arr[3]; // must be static!

   arr[0] = 1.1f;
   arr[1] = 2.2f;
   arr[2] = 3.3f;

   return arr;
}

void loop()
{
   float *v = ReturnArray();
   // Use v as an array:
   float sum = v[0] + v[1] + v[2];
}