i want to a C program to delete an element from an array which can use both index method & character method
For example
input : "1 222 333 4444"
output:"1 22 333 4444"
if either index = "4" or character ="2" is entered
it should able to read in/accept any input array of varying length, and the position/index or element in array to be deleted