Hacker News new | past | comments | ask | show | jobs | submit login

I guess technically in C everything is passed by value but you can pass a pointer to something and call it, naturally, a pass-by-pointer. Since in C you can typically get the pointer value by providing the reference (I don't remember if it is called the reference in pure C, but we are clearly talking about the same thing here) it can also be called a pass-by-reference, consistent with some other programming languages.



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

Search: