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 reverse number of a digit if it is
input through the keyboard?

Answer Posted / prince rafi

void main()
{
int num,m,temp=0;
clrscr();
printf("enter the value of num);
do
{
m=m%10;
temp=(temp*10)+m;
num=num/10;
}
while(num>0);
printf("%d",sum);
}
getch();
}

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Compare and contrast compilers from interpreters.

1116


Are comments included during the compilation stage and placed in the EXE file as well?

1072


Why c is procedure oriented?

1061


Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?

1247


Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent

2116


What is the value of a[3] if integer a[] = {5,4,3,2,1}?

1081


What are the different data types in C?

1199


Is array name a pointer?

1023


What is derived datatype in c?

1083


What is the difference between Printf(..) and sprint(...) ?

1521


How do you declare a variable that will hold string values?

1164


Is r written in c?

1149


Why main is not a keyword in c?

1246


How can I write a function analogous to scanf?

1170


What happens if a header file is included twice?

1031