In C++ (and other another programming language) dynamic variables located on the heap. Static variables located on the stack.
Question: Where will a constant be located (const) (added to stack where function is called or in processor's registry or...)?