Computer Science, asked by srinivas20041997, 1 year ago

What is decimal equivalent of 2s complement number(101101110011110.1)

Answers

Answered by Harshittiwari2004
0
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