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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a function argument have default value?

1206


#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }

1166


what are the advantages of a macro over a function?

1191


What is static and auto variables in c?

1141


Why isnt any of this standardized in c?

1125


What is the significance of c program algorithms?

1193


how logic is used

2023


List some basic data types in c?

1082


Why does everyone say not to use scanf? What should I use instead?

1469


Why is c so powerful?

1163


What are qualifiers and modifiers c?

1062


Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.

4256


What are the 4 types of programming language?

1190


Explain what happens if you free a pointer twice?

1134


I have seen function declarations that look like this

1093