Array Functions

Here is the code that we have used for several arrays.

Press + to interact
void printArray(int* arr, int arrSize) {
for(int i = 0; i < arrSize; i++)
cout<<arr[i]<< " ";
cout << endl;
}
...