Solution:-
#include<stdio.h>
#include<conio.h>
void main( )
{
clrscr( );
long int num,rem;
printf("Enter the integer number: \n");
scanf("%ld",&num);
while( num ! = 0 )
{
rem = num % 10 ;
printf("%ld",rem);
num=num/10;
}
getch( );
}
#include<stdio.h>
#include<conio.h>
void main( )
{
clrscr( );
long int num,rem;
printf("Enter the integer number: \n");
scanf("%ld",&num);
while( num ! = 0 )
{
rem = num % 10 ;
printf("%ld",rem);
num=num/10;
}
getch( );
}