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

main()
{
unsigned int k = 987 , i = 0;
char trans[10];
do {
trans[i++] =(char) (k%16 > 9 ? k%16 - 10 + 'a' : '\0' );
} while(k /= 16);
printf("%s\n", trans);
}

Answer Posted / deepthisivan

bd

Is This Answer Correct ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to reverse a given number in c?

1037


What is hungarian notation? Is it worthwhile?

1218


Why do we need volatile in c?

1166


What is ambagious result in C? explain with an example.

2629


What is the use of a semicolon (;) at the end of every program statement?

1495


What does the message "automatic aggregate intialization is an ansi feature" mean?

1185


What is assert and when would I use it?

1003


illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question

2071


typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?

1637


How do shell structures work?

1111


How many bytes is a struct in c?

1165


Add Two Numbers Without Using the Addition Operator

822


How was c created?

1052


What is the use of c language in real life?

1024


What is the use of gets and puts?

1027