To delete an element in the specified location in the array