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
Can a variable be both constant and volatile?
Why c is known as a mother language?
What is extern variable in c with example?
How can a program be made to print the line number where an error occurs?
How can I implement a delay, or time a users response, with sub-second resolution?
What are runtime error?
In c programming, explain how do you insert quote characters (? And ?) Into the output screen?
Explain the process of converting a Tree into a Binary Tree.
Explain what is the difference between far and near ?
How can this be legal c?
What is floating point constants?
What is the difference between the = symbol and == symbol?
Why malloc is faster than calloc?
Is sizeof a keyword in c?
What is function prototype?