how to use showbits function?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why doesnt long int work?

613


How do I use void main?

635


Write the syntax and purpose of a switch statement in C.

629


‎How to define structures? · ‎

630


Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?

759






Why calloc is better than malloc?

572


What is function prototype in c language?

617


Explain what is the difference between a free-standing and a hosted environment?

635


What do you mean by c what are the main characteristics of c language?

572


What are the general description for loop statement and available loop types in c?

689


What is the explanation for prototype function in c?

571


What does stand for?

598


Write a program for finding factorial of a number.

636


What is static volatile in c?

576


#include int main(){ int i=10; int *ptr=&i; *ptr=(int *)20; printf("%d",i); return 0; } Output: 20 can anyone explain how came the output is 20

1267