LIST OF PROGRAMS
#include<stdio.h>
#include<conio.h>
void main()
{
long int n,x=0,tmp=0;
clrscr();
printf("Enter a number=\n");
scanf("%ld",&n);
do
{ x=n%10;
tmp=(tmp*10)+x;
n=n/10;
}while(n>0);
printf("New number= %ld",tmp);
getch();
}
this is a net web blog journal diary that is formed and made by a Indian student for faculty,college kids,children and youngsters as a gift for you to hold and carry everywhere and everyplace around the globe.This journal is completely and totally free from price to use and is extremely easy to use and very easy to understand.
Comments
you can use any variable name but it must follow the variable declaration rules