Question: Please use C++, thanks. Write a program that has the following functions: - int* ShiftByOne(int[], int); This function accepts an int array and the array's
Please use C++, thanks.

Write a program that has the following functions: - int* ShiftByOne(int[], int); This function accepts an int array and the array's size as arguments. The function should shift all values by 1 . So, the 1st element of the array should be moved to the 2nd position, 2nd element to the 3rd position, and so on so forth. Last item should be moved to the 1st position. The function should modify the input array in place and return a pointer to the input array. - Int* GetMax(int[], int); This function accepts an int array and the array's size as arguments. The function should return the memory address of the maximum value found in the array. - unsigned int GetSize(char[]); This function accepts a character array (C-String) and should return the size of the array
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
