Number of bit strings of length 8 that will either start with a 1 bit or end with 2 bits 00 shall be
Answers
Answered by
2
Write a C program to input binary number from user and find twos complement of the binary number. How to find 2s complement of a binary number in C. Logic to find twos complement of a binary number in C programming.
Example
Input
Input binary number: 01101110
Output
Twos complement: 10010010
Example
Input
Input binary number: 01101110
Output
Twos complement: 10010010
Similar questions