Once you compile and link your code the addresses of static variables are fixed, and yes can be discovered via the & opperator.
Placing a variable at a specific programmer defined address may be possible depending on the platform the code is run on. The GNC C compiler provides the __attribute__ Keyword to inform the linker which section to place a variable. This would also entail a custom link script to define this area.
Placing a variable at a specific programmer defined address may be possible depending on the platform the code is run on. The GNC C compiler provides the __attribute__ Keyword to inform the linker which section to place a variable. This would also entail a custom link script to define this area.