Re: explanation needed on const pointers
- From: Ben Bacarisse <ben.usenet@xxxxxxxxx>
- Date: Thu, 16 Feb 2006 12:29:49 +0000
On Wed, 15 Feb 2006 23:20:17 -0800, deepunayak@xxxxxxxxx wrote:
I need complete explanation on constant pointers.
Ah, you'll need a good book for that.
char *const ptr ;
const char *ptr ;
char *const* ptr;
please explain me the differences.
If you use the rule I outlined in:
http://groups.google.co.uk/group/comp.lang.c/browse_thread/thread/860be00649b49b4a/e44e3d249f1cd41f?lnk=st&rnum=1&hl=en#e44e3d249f1cd41f
you can read these as English words which will help to get you started.
<OT>What is the best way to reference a previous posting? The above
looks horrible and I can't from the style is the URI in long-lived or
not.</OT>
--
Ben.
.
- References:
- explanation needed on const pointers
- From: deepunayak@xxxxxxxxx
- explanation needed on const pointers
- Prev by Date: Re: arrays again :-)
- Next by Date: Re: arrays again :-)
- Previous by thread: Re: explanation needed on const pointers
- Next by thread: Re: explanation needed on const pointers
- Index(es):
Relevant Pages
|