Share this page

# unsigned

Example: unsigned

Used in variable declarations as a Type-Specifier to indicate that the variable cannot be marked with a negative sign. The minimum value is 0. It applies to char, int, and long data types.

The following table illustrates the difference between signed and unsigned variables.

Type | Size | Unsigned | Signed (normal)
--- | --- | --- | ---
char | 8 bits | 0 to 255 | -128 to 127
int | 16 bits | 0 to 65,535 | -32,768 to 32,767
long | 32 bits | 0 to 4,294,967,295 | -2,147,483,648 to 2,147,483,647

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: