Write a C program to delete element of an array at user specified position. Show a confirmation message before deleting…