#include <stdio.h>

int main() {
    int arr[30];
    int i,n;
    printf("enter any size of array\n");
    scanf("%d",&n);
    printf("enter any size of array:\n");
    for(i=n;i>=n;i--)
    {
        scanf("%d",&arr[i]);
    }
    printf("\n elements in array are:\n");
    for (i=n;i>=n;i--)
    {
        printf("%d\n",arr[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: