//Initialize an array and print it
#include<stdio.h>
int main()
{
int a[5]={10,20,30,40,50},i,n;

printf("Entered array elements are:");
for(i=0;i<5;i++)
{
printf("\n%d",a[i]);
}
return 0;
}

Embed on website

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