Hellow Friends I always want to share my knowledge which i have.I am currently from India and I just completed my MCA and working as an Asp.Net Developer.
#include<conio.h>
#include<stdio.h>
int main()
{
int n,a,r=0;
scanf("%d",&n);
while(n>=1)
{
a=n%10;
r=r*10+a;
n=n/10;
}
printf("res no is =%d",r);
getch();
}
No comments:
Post a Comment