/*PROGRAM TO FIND REVERSE OF A NUMBER*/
#include<stdio.h>
#include<conio.h>
void main()
{
int n,rev=0,rem,temp;
clrscr();
printf(“Enter any number: “);
scanf(“%d”,&n);
temp=n;
while(temp>0)
{
rem=temp%10;
temp=temp/10;
rev=rev*10+rem;
}
printf(“Reverse of %d is %d”,n,rev);
getch();
}