how can i pass an array as an argument to the function?
in getCoin() fcn, I am supposed to pass coins array as an argument to the function. fcn prompts user to enter coin(Date, Type and Country). values entered
by user are read and assigned to the coins array.
Help is appreciated.
I tried the code below.
//# include "Coins.h";
using namespace std;
void getCoins(Coins & coins, int SIZE);
const int SIZE = 10;
There are 3 coins.
Press any key to continue . . .