Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

write a program to display reverse of a number using for
loop?

Answer Posted / rakesh ranjan

#include<conio.h>
#include<stdio.h>
main()
{
int x,n,i;
printf("entre the number");
scanf("%d",&n);
for(;n>0;)
{
x=n%10;
printf("%d",x);
n/=10;
}
getch();
}

Is This Answer Correct ?    15 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is actual argument?

1058


What is static and auto variables in c?

1084


Tell us something about keyword 'auto'.

1070


What is action and transformation in spark?

1158


What is the size of enum in c?

1109


Explain what are multidimensional arrays?

1061


Which is best linux os?

1024


Explain the ternary tree?

1021


What is c programming structure?

1184


Using which language Test cases are added in .ptu file of RTRT unit testing???

4271


Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent

2121


How to get string length of given string in c?

1061


Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?

2538


any "C" function by default returns an a) int value b) float value c) char value d) a & b

1078


How do I swap bytes?

1065