#include #include using namespace std; void printArray(char *array, int length); // Write prototypes for THREE functions here char* createCharArray1 (int N); void createcharArray2 (int N, char* &array); int main() { int N = 5; char *array1, *array2; // note need two *'s here!! // Make the arrays. They should be identical array1 = createCharArray1(N); createCharArray2(N, array2); // Print the arrays cout << "Array 1: "; printArray(array1, N); cout << "Array 2: "; printArray(array2, N); return 0; } void printArray(char *array, int length) { for (int i=0; i