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

to find out the reverse digit of a given number

Answer Posted / vignesh1988i

#include<stdio.h>
#include<conio.h>
void main()
{
int n,a;
printf("enter the number to be reversed :");
scanf("%d",&n);
printf("the reversed number is :");
for(int i=0;n>0;i++)
{
a=n%10;
n=n/10;
printf("%d",a);
}
getch();
}

Is This Answer Correct ?    74 Yes 37 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which built-in library function can be used to match a patter from the string?

1240


What is a stream in c programming?

1086


How can you allocate arrays or structures bigger than 64K?

1085


What are the types of bitwise operator?

1050


Differentiate between the expression “++a” and “a++”?

1206


When should the volatile modifier be used?

1111


Can we initialize extern variable in c?

1079


What is modifier & how many types of modifiers available in c?

986


What are the types of data structures in c?

1085


What are the three constants used in c?

933


Can an array be an Ivalue?

1057


what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)

2346


How can I find the modification date of a file?

1221


What is call by value in c?

958


write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.

15931