C and C++

c program to Reverse the elements in the Array

#include<stdio.h>

#include<conio.h>

void main()

{

int a[10],i;

printf(“\n Enter the element:”);

for(i=0;i<10;i++)

{

scanf(“%d”,&a[i]);

}

printf(“\n The elements in the array are:”);

for(i=9;i<=0;i--)

{

printf(“%d”,a[i]);

printf(“\n”);

}

getch();

}