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

What is the difference between memcpy and memmove?

597


Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.

830


What is string concatenation in c?

565


How can I invoke another program (a standalone executable, or an operating system command) from within a c program?

653


What are all different types of pointers in c?

572






Difference between strcpy() and memcpy() function?

673


What is non linear data structure in c?

567


Do you know the use of fflush() function?

592


Can you pass an entire structure to functions?

690


What is derived datatype in c?

627


What is a structure member in c?

539


What are the disadvantages of c language?

614


A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none

727


What are the 4 types of functions?

566


What is #include conio h?

589