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

Write a c program to demonstrate character and string constants?

2134


What are c identifiers?

1054


What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?

1290


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

1021


C program to find all possible outcomes of a dice?

2300


Explain what is wrong in this statement?

1083


what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555

3018


Explain what are multidimensional arrays?

1019


What is operator precedence?

1163


Why do we use int main instead of void main in c?

1113


Can true be a variable name in c?

1006


What are the benefits of organizational structure?

982


Explain the meaning of keyword 'extern' in a function declaration.

1129


Why does everyone say not to use scanf? What should I use instead?

1384


Describe the difference between = and == symbols in c programming?

1316