3.5.7 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 qualified const
will be located in
program memory; other objects will be placed in data memory. Program memory object sizes
are discussed in 9.4.1 Size Limitations of const
Variables.
Objects in data memory are broadly grouped into autos and non-autos and the size
limitations of these objects, respectively, are discussed in 9.2.1 Non-auto Variable Allocation and 9.2.3 Non-Auto Variable Size Limits.