From: "Preacher" Newsgroups: comp.os.msdos.djgpp Subject: Re: Const pointers Date: Sat, 15 May 1999 23:16:32 +0200 Organization: HiST Message-ID: <7hkolf$j8a$1@balder.stud.idb.hist.no> References: NNTP-Posting-Host: preacherson.tihlde.org X-Trace: balder.stud.idb.hist.no 926803439 19722 158.38.48.55 (15 May 1999 21:23:59 GMT) X-Complaints-To: usenet AT idb DOT hist DOT no NNTP-Posting-Date: 15 May 1999 21:23:59 GMT X-Newsreader: Microsoft Outlook Express 4.72.3155.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Lines: 9 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com To declare a const pointer (that is, the address of the pointer cannot be changed but the contents it point to can) write: int * const Pointer=&variable; Preach.