Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I found the opposite, and a quote from the standard: " A declaration of a parameter as ‘‘array of type’’ shall be adjusted to ‘‘qualified pointer to type’’, where the type qualifiers (if any) are those specified within the [ and ] of the array type derivation."


You pass by reference, not by copy. It is still passing an array to a function though




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: