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 |
How can I discover how many arguments a function was actually called with?
code for concatination of 2 strings with out using library functions?
Is this program statement valid? INT = 10.50;
What are bitwise shift operators in c programming?
What are the different file extensions involved when programming in C?
how to multiply two number taking input as a string (considering sum and carry )
write a program to swap Two numbers without using temp variable.
75 Answers EMC, Focus, GreyB, HCL, Hitech, HP, Huawei, Infosys, Mannar Company, Microsoft, Miles Software, Odessa Technologies, Satyam, TCS, Wipro,
Concat two string with most overlapped substring has to removeĀ "abcd"+ "cdef" = "abcdef
can v write main() { main(); } Is it true?
What is local and global variable in c?
What are conditional operators in C?
What is floating point exception error? And what are different types of errors occur during compile time and run time? why they occur?