Please answer this question: when is memory allocated for static variable in c++?
at compile time