mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
C: Signed/unsigned clarification
This commit is contained in:
parent
071e433dd3
commit
e037df9c91
@ -70,7 +70,7 @@ double x_double = 0.0;
|
||||
|
||||
// Integral types may be unsigned. This means they can't be negative, but
|
||||
// the maximum value of an unsigned variable is greater than the maximum
|
||||
// value of the same size.
|
||||
// signed value of the same size.
|
||||
unsigned char ux_char;
|
||||
unsigned short ux_short;
|
||||
unsigned int ux_int;
|
||||
|
Loading…
Reference in New Issue
Block a user