#include<stdio.h>
#include<conio.h>
void main()
{
int n,i,a[100];
clrscr();
printf("How many numbers = ");
scanf("%d",&n);
for(i=0;i<n;i++)
{
printf("\na[%d] = ",i+1);
scanf("%d",&a[i]);
}
printf("Arrays element : ");
for(i=0;i<n;i++)
printf("\n\na[%d] = %d",i+1,a[i]);
getch();
}
///////////////////////////////////////////////////////////////////////////
Copy & paste this code in your TC & run, then you will get output.......
If you have any problem please comment below.........