how to use showbits function?
Answers were Sorted based on User's Feedback
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 |
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 |
Explain is it valid to address one element beyond the end of an array?
What are structure members?
The file stdio.h, what does it contain?
in one file global variable int i; is declared as static. In another file it is extern int i=100; Is this valid ?
What is character set?
what is the use of a array in c
What is pointer to pointer in c?
for(i=0;i=printf("Hello");i++); printf("Hello"); how many times how will be printed?????????
regarding pointers concept
How to delete a node from linked list w/o using collectons?
When is an interface "good"?
What is structure padding ?