Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tedunangst
on Dec 26, 2016
|
parent
|
context
|
favorite
| on:
How to find size of an array in C without sizeof
I find this improbable.
angry_octet
on Dec 27, 2016
[–]
Agreed, compiler implementors rarely decide to use more memory than is required. There may be a
stack canary
, but this is between stack allocated variables and control flow structures, not for every array.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: