Re:If companies interviewed tech recruiters the way they int...
by poikniok on Monday June 19, 2017 @01:28PM
(#14588669)
Isn't this passing by pointer and not passing by reference?
Re:If companies interviewed tech recruiters the way they int...
by cema on Monday June 19, 2017 @04:54PM
(#14590376)
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.
Re:If companies interviewed tech recruiters the way they int...
by aidenn0 on Monday June 19, 2017 @10:41PM
(#14591842)
Pointers are a specific type reference. As they are the only type of reference built-in to the language, it is common to use the more general term "pass by reference" to mean "pass by pointer" when discussing C.
At one point in the past I worked with someone who was incapable of understanding pass-by-reference; something like:
A colleague spent multiple hours per day for a week trying to explain this to them. After a week they still were unable to successfully make use of this interface.Their resume claimed 5 years experience in C.