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 |
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.?
How many levels deep can include files be nested?
Who invented b language?
What are the modifiers available in c programming language?
What is the real difference between arrays and pointers?
27 Answers Hexaware, Logic Pro, TCS,
Where are the auto variables stored?
Program to find largest of three numbers without using comparsion operator?
who is the editor of 'pokemon'?
what is ANSI and ISO
When a c file is executed there are many files that are automatically opened what are they files?
Is there a way to switch on strings?