#include<stdio.h>
int main()
{
int a[100],i,n;
printf(“enter element of array :\t”);
scanf(“%d”,&n);
for(i=0;i<n;i++)
{
scanf(“%d”,&a[i]);
}
for(i=0;i<n;i++)
{
printf(“a[%d]=%d\n”,i,a[i]);
}
}
#include<stdio.h>
int main()
{
int a[100],i,n;
printf(“enter element of array :\t”);
scanf(“%d”,&n);
for(i=0;i<n;i++)
{
scanf(“%d”,&a[i]);
}
for(i=0;i<n;i++)
{
printf(“a[%d]=%d\n”,i,a[i]);
}
}
EmbLogic Research & Competency Development Labs
Phone: +91 9818467776, 8527567776, 9650467776
Email: info@emblogic.com
Copyright © EmbLogic Embedded Technologies Pvt. Ltd.