Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In C it only has two meanings, both of which make sense if you think of them this way:

1. "static globals stay in the same file they are defined in."

2. "static locals stay allocated even when the function they're defined in is not being executed."



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: