Paasing global variables to functions
- From: ankisharma@xxxxxxxxx
- Date: 27 Jul 2005 23:27:27 -0700
Hi all
At many places I have seen that programmers pass global variables
to functions in c. I am not able to figure out why they do so. need
some clues on this. somewhere i heard that this philosophy is from
object orieted world but is it applicable for c?
.
- Follow-Ups:
- Re: Paasing global variables to functions
- From: Walter Roberson
- Re: Paasing global variables to functions
- From: Rouben Rostamian
- Re: Paasing global variables to functions
- From: Emmanuel Delahaye
- Re: Paasing global variables to functions
- From: Alipha
- Re: Paasing global variables to functions
- From: Richard Heathfield
- Re: Paasing global variables to functions
- Prev by Date: Re: Hints on how to migrate from C++ to C
- Next by Date: Re: Copying a struct to a larger struct?
- Previous by thread: Big Endian
- Next by thread: Re: Paasing global variables to functions
- Index(es):
Relevant Pages
|