#include <stdio.h>
void display(int n);
int main()
{
    int a[4]={10,20,30,40},i;
    for(i=0;i<4;i++)
    display(a[i]);
    return 0;
}
void display(int n)
{
    printf("%d\t",n);
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: