Login to ask a question from Arrays

Write a program in C to insert New value in the array.

Write a program in C to insert New value in the array.

#include 
void main()
{
   int arr1[100],i,n,p,x;
   printf("\n\nInsert New value in the unsorted array : \n ");
   printf("-----------------------------------------\n");   
   printf("Input the size of array : ");
   fflush(stdout);
   scanf("%d", &n);
    /* Stored values into the array*/
   printf("Input %d elements in the array in ascending order:\n",n);
    for(i=0;i....
Show More
Previous Question Next Question
🔗

Similar Questions

From Arrays · C programming

View All
WhatsApp