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

Explain how do you generate random numbers in c?

1044


5 Write an Algorithm to find the maximum and minimum items in a set of ā€˜n’ element.

2045


What is 1f in c?

2572


What is the difference between array and pointer in c?

1092


Why is c known as a mother language?

1189


What is getch () for?

1150


How do you print an address?

1215


a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above

1331


What is preprocessor with example?

1002


How does selection sort work in c?

988


What is the g value paradox?

1106


What is data structure in c programming?

1032


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

1240


Is c compiled or interpreted?

1130


Can you tell me how to check whether a linked list is circular?

1327