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 / dishank

deepthisivan can u plz elaborate.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is const volatile variable in c?

1004


write a c program to print the next of a particular no without using the arithmetic operator or looping statements?

3890


What do you mean by command line argument?

1117


What are the three constants used in c?

956


What is a pointer and how it is initialized?

1112


How to find a missed value, if you want to store 100 values in a 99 sized array?

1385


Why is struct padding needed?

1049


How will you declare an array of three function pointers where each function receives two ints and returns a float?

1322


Can you mix old-style and new-style function syntax?

1076


What is the difference between strcpy() and memcpy() function in c programming?

1047


Explain the use of bit fieild.

1111


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

1358


What is modifier & how many types of modifiers available in c?

994


Disadvantages of C language.

1067


How do I use void main?

1071