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

how to find a 5th bit is set in c program

4 Answers   IBM,


Explain how do you print an address?

0 Answers  


write a program to display numbers from 1 to 10 and 10 to 1?

2 Answers  


What is the g value paradox?

0 Answers  


write a progam to compare the string using switch case?

1 Answers  


Why doesn't the code "a[i] = i++;" work?

4 Answers  


What is meant by initialization and how we initialize a variable?

0 Answers  


Write a program to print factorial of given number using recursion?

0 Answers  


Write the control statements in C language

0 Answers   Atos Origin,


How do I use void main?

0 Answers  


main() { int i,n=010; int sum=0; for(i=1;i<=n;i++) {s=s+i; } printf("%d",&s); getch(); }

6 Answers  


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

0 Answers  


Categories