ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2011/06/04/10:15:09

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: =?ISO-8859-15?Q?Hans-Bernhard_Br=F6ker?= <HBBroeker AT t-online DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Different memory allocations were to the same location
Date: Sat, 04 Jun 2011 16:09:24 +0200
Lines: 11
Message-ID: <94usjlFo9vU1@mid.dfncis.de>
References: <isdadm$amb$1 AT news DOT albasani DOT net> <4DEA311B DOT 3090607 AT t-online DOT de> <isdc9c$efu$1 AT news DOT albasani DOT net>
Mime-Version: 1.0
X-Trace: news.dfncis.de Z4qkUghxmHJUNIkdfz5WygXRbxRp9F4ud9GZJz0BRSMD7ODc+R6YGjSUuR
Cancel-Lock: sha1:27T1lWaV1WhOT9P2nzUu0WoIh3w=
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9
In-Reply-To: <isdc9c$efu$1@news.albasani.net>
Bytes: 1378
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
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

On 04.06.2011 15:34, Mok-Kong Shen wrote:

> isn't it? So a valid pointer to a memory location was assigned in my
> understanding to the formal parameter uh,

Correct up to this point...

> hence to vec1 or vec2.

... but this is incorrect.  Time to get back to you C textbook and 
understand how values are returned from C functions to their environment.

- Raw text -


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