Answer Posted / siddiqui mohd. faisal
It's very simple.
Firstly, the binary no. of 0 is 0000.
After that if you want to know the binary no. of 1 then
jaust add 1 to binary no. of 0 i.e. 0000.So, now the ans
will be 0001.But,remember here 1+1=10.So, now if you want
binary no. of 2 then add 1 to binary no. of 1 i.e. 0001.So,
the binary no. of 2 will be 0010.
I hope you got your question answer.
| Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
what do you mean by enumeration constant?
simple program of graphics and their output display
What is the difference between text and binary i/o?
What is the purpose of sprintf() function?
What is an auto keyword in c?
Explain how can you determine the size of an allocated portion of memory?
How can I find the modification date of a file?
Can we assign integer value to char in c?
Explain what is the difference between functions getch() and getche()?
What is a null pointer in c?
What is the advantage of a random access file?
What is a loop?
What is difference between static and global variable in c?
Define recursion in c.
Why c is called procedure oriented language?