For whatever reason, I simply can’t remember the size and range of the data types Arduino offers. So I have created a small sketch that prints them out.
Here is the result:
--- Variable type: Size in SRAM (bytes) ---
unsigned char: 1
unsigned int: 2
unsigned long: 4
The sketch with all details can be viewed at Github:Gist.