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

What is typedef struct in c?

1060


Explain 'far' and 'near' pointers in c.

1153


Explain function?

1102


What is a newline escape sequence?

1113


What is the use of linkage in c language?

1072


What is difference between array and pointer in c?

1105


Explain what is a pragma?

1062


Which type of language is c?

1086


What is pass by reference in c?

1197


What is the use of f in c?

988


What is main return c?

1007


What is indirection in c?

1079


any "C" function by default returns an a) int value b) float value c) char value d) a & b

1094


Write the test cases for checking a variable having value in range -10.0 to +10.0?

2330


What are conditional operators in C?

1108