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

You're misunderstanding. I'm saying you can have multiple identical `int a;` across multiple translation units and it will point by default to a single global variable across the program. So you can include a single header from multiple places, and you just get a single shared global variable, if the header contains `int a`.


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

Search: