Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
beyonddream
on Nov 20, 2022
|
parent
|
context
|
favorite
| on:
Mildly interesting quirks of C
My understanding of how it works is, with constant value, the compiler replaces (x) with the constant 0 and converts (void *) into (int *) which makes the size equality to return true. But I am not entire sure :)
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: