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 use showbits function?

Answers were Sorted based on User's Feedback



how to use showbits function?..

Answer / p govind rao

convert a decimal to binary we should use showbit()
function or a normal program to convert decimal to binary .


showbit(7) gives 000000000000111 .

Is This Answer Correct ?    62 Yes 18 No

how to use showbits function?..

Answer / santhosh

showbit is a pre-defined function is used for showing the
decimal value converts to binary digits. For Example:

#include<stdio.h>
main()
{
int a = 10;
showbit(7);
return 0;
}

Output:
0000 0111

Is This Answer Correct ?    20 Yes 51 No

Post New Answer

More C Interview Questions

who is the founder of c

19 Answers   College School Exams Tests, HP,


how to add our own function in c library please give details.?

1 Answers   TCS,


How many levels deep can include files be nested?

0 Answers  


Who invented b language?

0 Answers  


What are the modifiers available in c programming language?

0 Answers  


What is the real difference between arrays and pointers?

27 Answers   Hexaware, Logic Pro, TCS,


Where are the auto variables stored?

0 Answers   TISL,


Program to find largest of three numbers without using comparsion operator?

3 Answers  


who is the editor of 'pokemon'?

1 Answers  


what is ANSI and ISO

7 Answers   HCL,


When a c file is executed there are many files that are automatically opened what are they files?

0 Answers  


Is there a way to switch on strings?

0 Answers  


Categories