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 FIND A REVERSE OF TWO NO

Answer Posted / vaibhav

#include <stdio.h>
#include<conio.h>
void main()
{
int n,t;
printf("\n enter the 2 digit no.");
scanf("%d",&n);
while(n%10>0)
{
t=n%10;
n=n/10;
printf("\n reverse no. is%d",t);
}
getch();
}

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between class and structure?

1064


how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.

1626


Combinations of fibanocci prime series

1556


What are run-time errors?

1055


Why functions are used in c?

1070


How many types of operators are there in c?

984


How can I use a preprocessorif expression to ?

998


application attempts to perform an operation?

1917


write a program fibonacci series and palindrome program in c

978


What is the ANSI C Standard?

1212


How is pointer initialized in c?

976


What is the advantage of an array over individual variables?

1187


Why is c called c not d or e?

1048


a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none

1203


What is difference between %d and %i in c?

1182