C Program to Insert an element in an Array

Here is C program to insert element in the array.

Enter no of elements :4

Enter 4 elements :1
2
3
4

Enter the new element to be inserted :5

Enter the location :2
1 5 2 3 4

That’s all about inserting an element to array in C.

Leave a Reply

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