From: Jakub Newsgroups: comp.os.msdos.djgpp Subject: Constant pointers help. Date: Tue, 28 Apr 1998 10:41:11 +1000 Organization: DIALix Internet Services Lines: 20 Message-ID: <354525A7.5A27DD86@dontspam.cromnet.net.au> NNTP-Posting-Host: news AT marconi DOT dialix DOT com DOT au Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi, Could someone help me out here. example: const char *name1 = "John"; // Value cannot be changed Is the above the same as?: const char something = "John"; char *name1; name1 = &something; What would be the expansion of the following? char *const name2 = "John"; // Pointer cannot be changed Thank you. Please remove "dontspam" from my email.