X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: =?ISO-8859-15?Q?Hans-Bernhard_Br=F6ker?= 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: <4DEA311B DOT 3090607 AT t-online DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit 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: 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 Precedence: bulk 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.