3.5.8 How Big Can C Variables Be?
This question specifically relates to the size of individual C objects, such as arrays or structures. The total size of all variables is another matter.
To answer this question you need to know in which memory space the
variable will be located. Objects with static storage duration and that are qualified
const
will be located in program memory; other objects will be
placed in data memory. Program memory object sizes are discussed in 5.4.3.1 Object Size Limitations. Objects in data
memory are broadly grouped into autos and non-autos and the size limitations of these
objects (see 5.4.2.1.3 Object Size Limits and
5.4.2.2.1 Object Size Limits).