//Insertion in 1D array
#include<stdio.h>
#include<conio.h>
int main()
{
int i,num[5];
printf("Enter the number\n");
for(i=0;i<5;i++)
{
scanf("%d",&num[i]);
}
printf("\nNumber entered in array\n");
for(i=0;i<5;i++)
{
printf("%d\n",num[i]);
}
getch();
}
what program is this?
ReplyDeleteits not related to any tasks assigned...its simply displaying the elements we are entering...
i think u cant understand it.........this is the program for insertion in one dimensional array
Delete