www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/01/07/23:33:21

Date: Sun, 7 Jan 2001 23:28:03 -0500
Message-Id: <200101080428.XAA25697@envy.delorie.com>
X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT envy DOT delorie DOT com using -f
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <939uln$roo1@imsp212.netvigator.com> (honeymak@yahoo.com)
Subject: Re: var.......ptr
References: <939uln$roo1 AT imsp212 DOT netvigator DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> what're the differences between pointers and global variables?

That's like asking, "What's the difference between apples and blue?".
They're two independent concepts.  A pointer is a data type, which
contains the address of some other data.  A global variable is data
stored in a globally-accessible location.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019