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

What is a list in c?

612


How can I swap two values without using a temporary?

610


In C language, a variable name cannot contain?

737


can we change the default calling convention in c if yes than how.........?

2030


What is the difference between null pointer and wild pointer?

630






What does sizeof return c?

596


How many types of operators are there in c?

611


What is call by value in c?

553


The number of measuring units from an arbitarary starting point in a record,area,or control block to some other point a) recording pointer b) offset c) branching d) none

704


Difference between goto, long jmp() and setjmp()?

700


What is function prototype?

607


What is the newline escape sequence?

580


How can I insert or delete a line (or record) in the middle of a file?

570


Which node is more powerful and can handle local information processing or graphics processing?

819


What is table lookup in c?

624