I have two string arrays "Array1[size]" and "Array2[size]". They both have the same size. I would like to write a function which contains this two arrays but I am having problems in the way that I am declaring them.
I am declaring it like this: void Thefunction (string& Array1[], string& Array2[], int size);
And when I call it I am calling it like this: Thefunction (Array1, Array2, size);
What I am doing wrong?
Thank you.