I am a newbie to C++ and facing a problem.
I read in a book that memory is allotted to a static variable, once the object is created of that class. Now, what if I ma
On programstart (before main) memory will be allocated for your static global variable.
I have no idea for the 2nd question.