mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-23 06:03:07 +03: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
|
// 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
|
// 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 char ux_char;
|
||||||
unsigned short ux_short;
|
unsigned short ux_short;
|
||||||
unsigned int ux_int;
|
unsigned int ux_int;
|
||||||
|
Loading…
Reference in New Issue
Block a user