Question: Write a function to convert a string of 32 '1' s and '0's in 2's complement form to a 32 bit signed integer: int bits2Integer(char

 Write a function to convert a string of 32 '1' s

Write a function to convert a string of 32 '1' s and '0's in 2's complement form to a 32 bit signed integer: int bits2Integer(char bitString[]); The bit string is stored in the bitString[] argument in "natural" form, i.e., the MSB is on the left side and LSB on the right

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!