Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
matthavener
on Oct 18, 2011
|
parent
|
context
|
favorite
| on:
So you think you know C: the Ksplice Pointer Chall...
In C, the array as a function parameter is different from an array as a variable/struct member. So, as a parameter, sizeof(x) is sizeof(int*). As a variable, sizeof(x) is sizeof(int[5]).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: