write a program to find out number of on bits in a number?
Answer Posted / sriharsha
main()
{
int n;
printf("\n Enter The Number Whose bits have to find");
scanf("%d",&n);
i=i*8;
printf("\n The number of bits in the given number is %d",i);
}
| Is This Answer Correct ? | 2 Yes | 8 No |
Post New Answer View All Answers
illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question
List a few unconditional control statement in c.
how much salary u want ? why u join in our company? your domain is core sector why u prefer software ?
Explain built-in function?
Explain can you assign a different address to an array tag?
How can I find the modification date and time of a file?
What does the file stdio.h contain?
What are 3 types of structures?
please explain every phase in the "SDLC" in the dotnet.
What is the usage of the pointer in c?
Is c still used?
Why is C language being considered a middle level language?
Can a pointer be static?
When was c language developed?
What does != Mean in c?