unsigned

From RAD Studio
Jump to: navigation, search

Go Up to Keywords, Alphabetical Listing Index


Category

Type Specifiers

Syntax

unsigned <type> <variable> ;

Description

Use the unsigned type modifier when variable values will always be positive. The unsigned modifer can be applied to base types int, char, long, short, and __int64.

When the base type is omitted from a declaration, int is assumed.

See Also