r/C_Programming • • Jun 15 '26

Question Question regarding unsigned integers

What's the difference between an unsigned int and a normal integer?

11 Upvotes

93 comments sorted by

View all comments

Show parent comment

3

u/dmc_2930 Jun 15 '26

And of course bit shifts can differ between signed and unsigned as well.

1

u/sreekotay Jun 15 '26

good point!