Write a program to print array in reverse order.

#include<stdio.h>
#include<conio.h>
int main()
{

int A[5],n;
for(n=0;n<5;n++)
{
printf(“enter integers\n”);
scanf(“%d”,&A[n]);
}
printf(“Traversing array in reverse order: \n”);
for(n=4;n>=0;n–)
{
printf(“%d\n”,A[n]);
}
getch();
return 0;
}