How to delete an element from array in C++

Write a program to delete an element from an array in C++.