Write a C program to reverse a number

Program to Reverse a number in C Programming.

#include
#include
void main()
{
	int number, stored, remainder, reversal = 0;
	clrscr();
        printf("Enter an integer  \n");
	scanf("%d", &number);
	stored=number;
    while (number > 0)
    {
        remainder = number % 10;
        reversal = reversal * 10 + remainder;
        number /= 10;
    }
	printf("The reverse number of the given number %d is = %d \n",stored,reversal);
    getch();
}