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
swap 2 numbers without using third variable?
What is nested structure with example?
By using C language input a date into it and if it is right?
Explain how do you determine whether to use a stream function or a low-level function?
What does 2n 4c mean?
what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555
What are the complete rules for header file searching?
What is cohesion and coupling in c?
Is c high or low level?
Difference between malloc() and calloc() function?
explain what are pointers?
What are different storage class specifiers in c?
What happens if you free a pointer twice?
Can you explain what keyboard debouncing is, and where and why we us it? please give some examples
Is null valid for pointers to functions?