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 / audumbar

#include<stdio.h>
main()
{
int n;
printf("\n enter the number");
scanf("%d",&n);

while(n!=0)
{
int a=n%10;
printf("%d",a);
n=n/10;
}
}

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the code for 3 questions and answer check in VisualBasic.Net?

2167


What is a ternary operator in c?

1127


How can I handle floating-point exceptions gracefully?

1180


how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12

1090


Why doesnt this code work?

1072


How is a null pointer different from a dangling pointer?

1038


Write a program to print "hello world" without using a semicolon?

1071


What would be an example of a structure analogous to structure c?

1002


What is the difference between array and structure in c?

1179


Write a Program to find whether the given number or string is palindrome.

1283


How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?

1118


Who is the founder of c language?

1172


What is c programing language?

1094


How can I write a function analogous to scanf?

1191


5 Write an Algorithm to find the maximum and minimum items in a set of ā€˜n’ element.

2118