Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   C Programming (http://www.velocityreviews.com/forums/f42-c-programming.html)
-   -   difference between pass by address and pass by reference!! (http://www.velocityreviews.com/forums/t442114-difference-between-pass-by-address-and-pass-by-reference.html)

blufox 04-03-2006 02:35 PM

difference between pass by address and pass by reference!!
 
What is difference between pass by address and pass by reference?
Any pointers or links will be appreciated.


Chris Dollin 04-03-2006 02:45 PM

Re: difference between pass by address and pass by reference!!
 
blufox wrote:

> What is difference between pass by address and pass by reference?
> Any pointers or links will be appreciated.


This is not a C question: comp.lang.misc or comp.programming would
be better places.

[I can hallucinate a difference, but I suspect I have idiosyncratic
hallucinations.]

--
Chris "Faeries (Living At The Bottom Of The Garden)" Dollin

pemo 04-03-2006 02:53 PM

Re: difference between pass by address and pass by reference!!
 

blufox wrote:
> What is difference between pass by address and pass by reference?
> Any pointers or links will be appreciated.


The term pass by reference is that often used [incorrectly] in 'C'
texts in place of the correct term pass by address. Specifically, C
does not have a pass by reference mechanism, but can 'fake' it quite
well by passing addresses by value.

The C++ language has 'proper' pass by reference - as well as by value
and address.



All times are GMT. The time now is 02:45 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57