Re: static aray question?
- From: "Igor Tandetnik" <itandetnik@xxxxxxxx>
- Date: Thu, 23 Oct 2008 14:39:21 -0400
Robby <Robby@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
I think I am getting confused between
passing by reference and passing a pointer??????
C doesn't have syntax for passing by reference, the way C++ does. In C,
"pass a variable by reference" is just another way of saying "pass the
address of the variable: the function should take a pointer to it as a
parameter".
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
.
- Follow-Ups:
- Re: static aray question?
- From: Robby
- Re: static aray question?
- References:
- static aray question?
- From: Robby
- Re: static aray question?
- From: Igor Tandetnik
- Re: static aray question?
- From: Robby
- Re: static aray question?
- From: Igor Tandetnik
- Re: static aray question?
- From: Robby
- Re: static aray question?
- From: David Wilkinson
- Re: static aray question?
- From: Robby
- static aray question?
- Prev by Date: Re: static aray question?
- Next by Date: Re: static aray question?
- Previous by thread: Re: static aray question?
- Next by thread: Re: static aray question?
- Index(es):
Relevant Pages
|