#include<stdio.h>
#include<conio.h>
void main()
{
void read(int *,int);
void display(int *,int);
int size[5],i,sum=0;
clrscr();
printf("Enter five elements for an array \n");
read(size,5);
printf("All elements of the array are : \n");
display(size,5);
}
void read(int c[],int i)
{
int j;
for(j=0;j<i;j++)
scanf("%d",&c[j]);
fflush(stdin);
}
void display(int d[],int i)
{
int j;
for(j=0;j<i;j++)
printf("%d ",d[j]);
printf("\n");
}

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.