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...

HOW TO FIND OUT THE RREVERS OF A GIVEN DIGIT NUMBER IF IT
IS INPUT THROUGH THE KEYBORD BY USING C LANGUAGE

Answer Posted / yogita

#include<stdio.h>
void main()
{
int n;
printf("enter any number");
scanf("%d",&n);
while(n>0)
{
a=n%10;
n=n/10;
pritnf("%d",a);
}
getch();
}

Is This Answer Correct ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is linear search?

1132


What is a loop?

1032


How do you override a defined macro?

1262


how many errors in c explain deply

2085


How can I prevent another program from modifying part of a file that I am modifying?

1051


Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?

999


The file stdio.h, what does it contain?

1154


When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?

1063


Explain how can you be sure that a program follows the ansi c standard?

1471


Can I initialize unions?

1037


What is the use of putchar function?

1055


How variables are declared in c?

1036


write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list

2799


What is a function in c?

1573


how to create duplicate link list using C???

2556