I have a question regarding the answer in [this](https://stackoverflow.com/questions/572547/what-does-static-mean-in-a-c-program) question but I can not comment on it because I have less than 50 rep. 

I was wondering in the answer `foo()` is being called multiple times and the static variable is being assigned the same number of times. So why is it that the static variable is not reassigned to 10 each time?