Posts

Showing posts from December 22, 2018

what's the point using unsigned int in C?

Image
6 I thought that unsigned int could store only integers >= 0. But I tried assigning a negative to an unsigned int, nothing special happened. It seems like it stored the value with no problem. So what is the difference between signed and unsigned int, and what's the point if it can store any value anyway? c int unsigned signed share | improve this question asked 9 hours ago Danny 34 2 1 ...