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 |
In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.
Input any no. and print all the the numbers that comes before it like this for e.g input = 4 0 01 012 0123 01234 plz answer it 2day
Why preprocessor should come before source code?
Write a Program to print this triangle: * ** * **** * ****** * ******** * ********** use two nested loops.
12 Answers MIT, TCS,
my name is nani i completed my b-tech in hyd now i want go for interveiw but i dont know the process of software field interveiws plz help me anyone how many rouds there n what rounds plz plz plz help me n where i can get these details
difference of two no's with out using - operator
What does s c mean on snapchat?
void main() { int *ptr; ptr = (int *) 0x400 ; printf("ptr=%d",ptr); } output?
Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?
What does 4d mean in c?
when user give a number it multiply with 9 without useing '+' and '*' oprator
Which is better oop or procedural?