This example will show you how to delete an element from an Array using C program.

The below delete function takes three arguments

*a – pointer to an array

n – size of the array

i – at what position of the array the element will be deleted

Example

Output

Thanks for reading.

Software Professional, I am passionate to work on web/enterprise application. For more information please go to about me. You can follow on Twitter. You can be a friend on Facebook or Google Plus or Linkedin

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.