array function C / C++ : I have tried to look for the solution to my problem but I didnt find anything so this is my question

I want to do a function that return an array in C/C++, for example:

    #include "iostream"
    #include "string"
    
    using namespace std;
    
    void minus(float v1[3], float v2[3], float v3[3][3]);
    
    int main()
    {
    	float a[3] = {1,0,0};
    	float b[3] = {3,2,5};
    	float c[3];
    	minus(a,b,c);
    
    	cout << c[0] << "C1" << endl;
        cout << c[1] << "C2" << endl;
        cout << c[2] << "C3" << endl;
    	cin.get();
    	return 0;
    }
    
    void minus(float v1[3], float v2[3], float v3[3])
    {
    	int i;
    	float aux;
    	for (i = 0; i < 2; i++)
    	{
    		v3[i]=v1[i]-v2[i];
    		return;
    	}
    }



The error is "[Error] cannot convert 'float*' to 'float (*)[3]' for argument '3' to 'void rectavector(float*, float*, float (*)[3])'"

I dont understand this error. I am returning v3 per reference