Write a program in C to delete an element from an array. code example
Example: c remove element from array
void remove_element(array_type *array, int index, int array_length)
{
int i;
for(i = index; i < array_length - 1; i++) array[i] = array[i + 1];
}