Array in C Programming


#include<stdio.h>
#include<conio.h>
void main()
{
int a[100],i;
clrscr();
printf("enter the value:");
for(i=0;i<6;i++)
{
{
scanf("%d",&a[i]);
}

for (i=0;i<6;i++)

printf("the value of i=\n%d",a[i]);
}
getch();


}

Post a Comment

0 Comments