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

Why is it usually a bad idea to use gets()? Suggest a workaround.

1808


In c language can we compile a program without main() function?

1147


Can a variable be both constant and volatile?

1137


how to construct a simulator keeping the logical boolean gates in c

2269


Explain what are multidimensional arrays?

1088


how to build a exercise findig min number of e heap with list imlemented?

2083


Do array subscripts always start with zero?

1318


What is an lvalue in c?

1138


Lists the benefits of c programming language?

1148


What is function definition in c?

1089


Describe explain how arrays can be passed to a user defined function

1123


How can I trap or ignore keyboard interrupts like control-c?

1079


How pointer is different from array?

1096


How is a null pointer different from a dangling pointer?

1045


Differentiate between calloc and malloc.

1289