Re: static aray question?



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


.