Never use the remainder operator with negative values.
unsigned long a; // can hold largest integer value
signed short int b;
C++ does not recognize the Byte data type in Java. Instead signed char is often used to represent byte-sized quantities.
Back to first slide
View graphic version