0

What's an unsigned int?

3rd Mar 2025, 6:01 AM
D Bavana Sruthi
D Bavana Sruthi - avatar
1 Answer
+ 6
https://www.geeksforgeeks.org/difference-between-unsigned-int-and-signed-int-in-c/ unsigned ints can only represent positive values. This extends the maximum value to about double that of signed ints. useful if you don't have no use of negative values in your variable.
3rd Mar 2025, 6:50 AM
Bob_Li
Bob_Li - avatar