In: Electrical Engineering
Write a program to remove an element from an array at the given position k and push the rest of the array elements one position back. Then insert the removed element at the beginning. Position k is entered through keyboard. For example, if the original array x is {'r', 'c', 'm', '7', 'w', '3', 'q'} and k = 3, the array will be changed to {'7', 'r', 'c', 'm', 'w', '3', 'q'}. Hint: Sequence of moving the element is important. You need to define a temp variable to hold value of x[k] before you move the rest of the array elements one position back. Finally, put the saved temp variable to the first element of the array. (in C please)