Pass-by-reference is giving actual arguments to a function by "passing" the references of the arguments to the function. In contrast, in pass-by-value, functions have a copy of the arguments passed to them.
C does not really have a pass-by-reference feature. But there are ways around it, by using pointers for example.
http://www.c-faq.com/ptrs/passbyref.html
http://www.comp.nus.edu.sg/~esim/faq/nod...
http://publib.boulder.ibm.com/infocenter...
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment