#include<stdio.h>
#include<conio.h>
void main()
{
int i;
int a[5]={10,20,30,40,50};
clrscr();
for(i=4;i>=0;i--)
{
printf(" %d\n",a[i]);
}
getch();
}
THE ABOVE PROGRAM EXPLAINED ABOUT HOW TO REVERSE AN ARRAY IN C PROGRAMMING LANGUAGE.
IN OUR NEXT POST WE ARE GOING TO LEARN HOW TO CONVERT METER TO CENTI METER.
No comments:
Post a Comment