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 an endless loop?

1269


Explain union. What are its advantages?

1077


Why is c called a structured programming language?

1272


pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)

2644


What are preprocessor directives in c?

1094


What is volatile keyword in c?

1034


Explain how can I right-justify a string?

1041


Is that possible to store 32768 in an int data type variable?

1075


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

1234


Explain what is wrong in this statement?

1118


Explain how can you restore a redirected standard stream?

1095


Write a program to print “hello world” without using semicolon?

1121


What does calloc stand for?

1155


Describe the header file and its usage in c programming?

1066


how to capitalise first letter of each word in a given string?

1923