Up until today, I thought I had a fairly good grasp of how the static modifier worked. I know that (in laymans terms) a static variable in a function does not \'reset\' acro
As far as I know, all languages with static variables treat them this way. Think of static variables as global variables that can only be accessed from a certain scope.