Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mannykannot
on Dec 27, 2016
|
parent
|
context
|
favorite
| on:
How to find size of an array in C without sizeof
I would go with option 1 because it does not suggest the problem is solved. As I write this, I realize that there is a counter-argument in that introducing ptrdiff_t gives you a place to issue a warning.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: