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

Explain how can I make sure that my program is the only one accessing a file?

635


Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above

664


what is reason of your company position's in india no. 1.

1779


Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.

609


When should we use pointers in a c program?

639






What is difference between constant pointer and constant variable?

632


what is recursion in C

620


Which is best linux os?

572


What is the deal on sprintf_s return value?

647


Explain the use of 'auto' keyword in c programming?

685


Is a house a mass structure?

644


What is an identifier?

632


Is calloc better than malloc?

584


Why is c so important?

602


Can you think of a logic behind the game minesweeper.

2012