#include <limits.h>#define UCHAR_MAX 255
UCHAR_MAX is the maximum value for an object of type unsigned char.
UCHAR_MAX conforms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).