Computer Science, asked by kumarsanu7505, 1 year ago

An 8 bit register contains the binary value10011100. what is the register value after an arithmetic right shift ? starting from initial number 10011100 determine the register value after an arithmetic left shift and state whether there is an overflow?

Answers

Answered by Harshittiwari2004
1
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
Similar questions
Math, 6 months ago