C program to delete an element in an array

in programming •  8 months ago

Deleting an element refers to the deletion of a single element at particular location in array. We will try to delete this element using c program.




int main()


    int i,p,n,a[20],c[20];

    printf("Enter the value of n:\n");


    printf("Enter the value in 1 :\n");





    printf("Enter the value of p:\n");







    { printf("%d",a[i]);



Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!