r/C_Programming • u/Low_Minimum9920 • Jun 15 '26
Question Question regarding unsigned integers
What's the difference between an unsigned int and a normal integer?
10
Upvotes
r/C_Programming • u/Low_Minimum9920 • Jun 15 '26
What's the difference between an unsigned int and a normal integer?
View all comments
Show parent comment
6
u/MCLMelonFarmer Jun 15 '26
That post just said that you can look at one bit to determine if the number is negative, and that is true for two's complement representation. It didn't state anything else about how the negative number is represented.