Re: Paasing global variables to functions
- From: Richard Heathfield <invalid@xxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 28 Jul 2005 07:22:46 +0000 (UTC)
ankisharma@xxxxxxxxx wrote:
> 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.
Never underestimate the sheer overwhelming power of mindless stupidity.
> need
> some clues on this. somewhere i heard that this philosophy is from
> object orieted world but is it applicable for c?
Think global. Act local.
--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
mail: rjh at above domain
.
- References:
- Paasing global variables to functions
- From: ankisharma
- Paasing global variables to functions
- Prev by Date: Re: question regarding precedence and associativity of ++ and *
- Next by Date: Re: fexception handling in C
- Previous by thread: Paasing global variables to functions
- Next by thread: Re: Paasing global variables to functions
- Index(es):
Relevant Pages
|