C Program only!!! (Please not in
C) Do Not Use Strings!
Using Only Arrays,
1. Write a program to remove an element from a character
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 the 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 the 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.