#include <stdio.h>
int main() 
{
    int a[5],i;
    printf("Enter array Elements: ");
    for(i=0;i<=4;i++)
    {
        scanf("%d",&a[i]);
    }
    printf("\nReverse array Elements : ");
    for(i=4;i>=0;i--)
    {
        printf("%d",a[i]);
    }
    return 0;
}

Embed on website

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