HP C A.06.05 Reference Manual
Program Organization
Lexical Elements
Chapter 2 15
goto
See “goto” on page 166.
if
See “if” on page 169.
int
A 32-bit data type for representing whole numbers.
The range for int is -2,147,483,648 through 2,147,483,647.
The range for unsigned int is 0 through 4,294,967,295.
long
A 32-bit integer data type in the HP-UX 32-bit data model. The range for long is
-2,147,483,648 through 2,147,483,647. For the HP-UX 64-bit data model, the long data type is
64-bits and the range is the same as the long long data type.
The long long 64-bit data type is supported as an extension to the language when you use
the -Ae compile-line option.
The range for long long is -9,223,372,036,854,775,808 through +9,223,372,036,854,775,807.
register
Indicates to the compiler that the variable is heavily used and may be stored in a register for
better performance.
return
See “return” on page 174.
short
A 16-bit integer data type.
The range for short is -32,768 through 32,767.
The range for unsigned short is 0 through 65,535.
signed
All integer data types are signed by default. The high-order bit is used to indicate whether a
value is greater than or less than zero. Use this modifier for better source code readability.
The signed keyword can be used with these data types: