Please help me how I can use function declearation below to create an array of salaries that will copies all salaries into the created array and return the pointer to this array. [note: use dynamic array]
Function declearation:
double* salarycollection(Employee * employee, int size).