I'm taking a entry level C++ programming course and we just started on arrays. Our assignment is to take a 20 digit number and add it along with another 20 digit number. We create the 20 digit number by creating arrays. My arrays work out but I'm stuck as to how to pass them into another function to display them. I get an "error C2664: 'DisplayResults' : cannot convert parameter 1 from 'int [20]' to 'int'" error. This is what I have so far, sorry if its rough.

I get the error trying to pass my 20 digit array into my DisplayResults function. Thanks in advance.Code:#include <iostream> using namespace std; void GetNumbers(); void DisplayResults(int, int, const int); const int SIZE = 20; void main () { char FirstNumber = 0; char SecondNumber = 0; char Number = 0; char Sum = 0; char Continue; do { cout << "Please enter first number ==> "; GetNumbers(); cout << "Continue 'Y' or 'N' ==> "; cin >> Continue; } while (Continue == 'Y'); } void GetNumbers() { char Number; int I, K = 0; int FirstArray[SIZE]; int SecondArray[SIZE]; int TempArray[SIZE]; cin >> Number; for (I = 0; I < SIZE; ++I) { FirstArray[I] = 0; SecondArray[I] = 0; TempArray[I] = 0; } I = 0; while (Number != '\n' && I < SIZE) { TempArray[I] = Number - '0'; ++I; cin.get(Number); } for (K = SIZE - 1, --I; I >= 0; --I, --K) FirstArray[K] = TempArray[I]; cout << "Please enter second number ==> "; cin >> Number; I = 0; while (Number != '\n' && I < SIZE) { TempArray[I] = Number - '0'; ++I; cin.get(Number); } for (K = SIZE - 1, --I; I >= 0; --I, --K) SecondArray[K] = TempArray[I]; DisplayResults(FirstArray, SecondArray, SIZE); } void DisplayResults(int FirstArray[], int SecondArray[], const int SIZE) { int I; for (I = 0; I < SIZE; I++) cout << FirstArray[I] << endl; for (I = 0; I < SIZE; I++) cout << SecondArray[I] << endl; cout << "====================" << endl; }