//this is a program to print the value's of array
#include<stdio.h>
#include<conio.h>
void main()
{
int i,a[4]={1,2,3,4};
printf("\n\nDisplaying the values of Array A\n\n");
for(i=0;i<4;i++)
{
printf(" %d ",a[i]);
}
getch();
}
#include<stdio.h>
#include<conio.h>
void main()
{
int i,a[4]={1,2,3,4};
printf("\n\nDisplaying the values of Array A\n\n");
for(i=0;i<4;i++)
{
printf(" %d ",a[i]);
}
getch();
}