Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
corysama
on Feb 18, 2013
|
parent
|
context
|
favorite
| on:
A nice, little known C feature: Static array indic...
Wouldn't you need to put your sizeof test
outside
of every call to your function? Inside the function it would only know the declared parameter's type, so it would have no idea what sized array you actually passed.
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: