Hello
Please note that there is no requirement in the ANSI C standard that the variables symbols) will be allocated in the sequence they have been defined.
A compiler/linker may change the order of allocation.
If you really need the object/symbols to be allocated in a certain sequence, I would recommend you to define a structure and access the fields in there through a macro.
Example:
struct {
:unsigned int var1;
unsigned int var2;
}MyStruct;
#define var1 MyStruct.var1
#define var2 MyStruct.var2
CrasyCat