mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-13 10:14:58 +02:00
C: Signed/unsigned clarification
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user