Saturday Night Fever Filming Locations I had fun while in New York back in May 2008 tracing the footsteps of Tony Manero, footsteps that walked the streets of Brooklyn to the pulsating rhythm of âStayinâ Alive.â
Static. Static variable is a property of a Class rather than the instance of class. It is stored on the data segment area of memory and the same value is get shared to all instances of that class. It can be assigned for reference types and set at run time.
A couple clarifications: 1  The first line (static const int...) declares a variable, not a pointer. static limits the variable's scope and means its memory will only be initialized once. 2  Theoretically, a #define will save space/CPU cycles since the data doesn't need to occupy and be stored and loaded from SRAM.