This example will show you how to insert an element into an Array using C program.

The below insert function takes four arguments

*a – pointer to an array

n – size of the array

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

k – the element to be searched in array

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.