NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
int

In NXC the int type is a signed 16-bit value.

This type can store values from INT_MIN to INT_MAX. To declare an unsigned 16-bit value you have to use the unsigned keyword followed by the int type. The range of values that can be stored in an unsigned int variable is from zero to UINT_MAX.

int x = 0xfff;
int y = -23;
unsigned int z = 62043;