how to convert binary to decimal and decimal to binary in C
lanaguage

Answer Posted / fazlur rahaman naik

u can use bitwise operators and some logical thinking.

Is This Answer Correct ?    26 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of sizeof?

549


What is data type long in c?

621


What is the purpose of void in c?

615


What is a program flowchart?

596


What are the two forms of #include directive?

640






What is LINKED LIST? How can you access the last element in a linked list?

629


1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures

2736


c language interview questions & answer

1455


How many data structures are there in c?

612


What is null pointer constant?

591


Can you subtract pointers from each other? Why would you?

556


Write a program to swap two numbers without using the third variable?

591


What are the benefits of organizational structure?

566


I have seen function declarations that look like this

593


If fflush wont work, what can I use to flush input?

608