Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
gmueckl
on Sept 24, 2017
|
parent
|
context
|
favorite
| on:
Why undefined behavior may call a never-called fun...
No, the function pointer is declared static. It cannot be referred to outside the current file.
DSrcl
on Sept 24, 2017
[–]
The function pointer is static. But the function that mutates it, NeverCalled, is not. One can still indirectly change that function pointer.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: