HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by teichman | Hacker News Reader
Parent
Full thread
teichman
·
Can you elaborate on this?
View on HN
matthavener
·
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]).
Reply on news.ycombinator.com