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

WRITE A PROGRAM TO FIND A REVERSE OF TWO NO

Answer Posted / ashok

#include<stdio.h>
#include<conio.h>
void main();
int a;
clrscr();
float rem=0,rev=0;
while(rev>=0)
{
rem=a%10;
rev=rev+rem;
a=a/10;
}
printf(Reverse of two digit no is:=%d",rev);
getch();
}

Is This Answer Correct ?    21 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does void main () mean?

1200


Write a program with dynamically allocation of variable.

1090


What is function prototype in c language?

1005


Here is a neat trick for checking whether two strings are equal

994


Explain what is the advantage of a random access file?

1097


can anyone please tell about the nested interrupts?

2089


How do you convert strings to numbers in C?

1191


Why do we use namespace feature?

1024


What is the difference between array and linked list in c?

1108


Explain what is the benefit of using #define to declare a constant?

1129


What is cohesion in c?

946


How do I use strcmp?

1041


What tq means in chat?

1087


What is memory leak in c?

1086


What is the description for syntax errors?

1113