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 are pointers in C? Give an example where to illustrate their significance.

969


What does %d do?

954


What is #ifdef ? What is its application?

855


In C programming, how do you insert quote characters (‘ and “) into the output screen?

1230


`write a program to display the recomended action depends on a color of trafic light using nested if statments

1883


What is the use of a ‘’ character?

803


What is build process in c?

865


What do you mean by scope of a variable in c?

766


while initialization of array why we use a[][2] why not a[2][]...?

2097


What is static volatile in c?

751


Explain what is the difference between far and near ?

861


What is data type long in c?

827


What are the functions to open and close file in c language?

945


hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .

2154


Explain what is the advantage of a random access file?

897