Comments on Linux C Programming Tutorial Part 15 - 2's Complement and Negative numbers
Up until now, in this ongoing C programming tutorial series, we have discussed quite a few concepts, but missed a basic one. It's about negative numbers. Yeah, though we briefly mentioned signed vs unsigned variables in one of our initial tutorials, we didn't actually discuss how negative numbers are stored in memory.
1 Comment(s)
Add comment
Comments
By: Owen
Why using 2's complement? is there any other options for computer to represent a negative number?