RE: [Dev-C++] Question about pointers (beginner)
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Ioannis V. <iv...@te...> - 2003-05-27 21:05:05
|
> -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of Christian Schmidt > Sent: Tuesday, May 27, 2003 9:18 PM > To: dev...@li... > Subject: [Dev-C++] Question about pointers (beginner) > > > >From my book: > > Given x = 123 and ptr_int = &x Now ptr_int has the address of x stored. > after that *ptr_int = 456 has *ptr_int accesses the value of x, so *ptr_int=456 is equivalent to x=456. Ioannis Vranos * Programming pages: http://www.noicys.freeurl.com * Alternative URL 1: http://run.to/noicys * Alternative URL 2: http://www.noicys.cjb.net |