Date: Tue, 25 Nov 1997 17:58:20 +0200 (IST) From: Eli Zaretskii To: Peter Palotas cc: DJ Delorie , djgpp AT delorie DOT com Subject: Re: pointers &arrays[] In-Reply-To: <3.0.16.19971125153723.22af8ce2@hem1.passagen.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Tue, 25 Nov 1997, Peter Palotas wrote: > int main(void) > { > strcpy(foo, "987654321"); > func(foo); > return 0; > } > > $ ./test.exe > foo = 8c98, &foo = 4c490 This is called "a call by reference": the pointer to foo is pushed onto the stack before func is called, and the address you print is the address of the copy on the stack. This thread begins to look like an intermediate C class...