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. Well, that’s exactly what will be discussed in this tutorial.