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

hi, which software companys will take,if d candidate's % is jst 55%?

1748


in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above

694


How do you construct an increment statement or decrement statement in C?

862


How is a macro different from a function?

744


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

748






Give basis knowledge of web designing ...

1670


What is the use of clrscr?

690


Dont ansi function prototypes render lint obsolete?

688


Who invented b language?

1031


What does %2f mean in c?

821


Tell me with an example the self-referential structure?

654


How are portions of a program disabled in demo versions?

860


C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions

696


Explain what is a stream?

682


Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given

2626