Re: Sort of mystified from an earlier thread
- From: "Chad" <cdalten@xxxxxxxxx>
- Date: 30 Oct 2005 08:17:01 -0800
pete wrote:
> Chad wrote:
> >
> > This was taken from the following:
> >
> > http://groups.google.com/group/comp.lang.c/browse_thread/thread/089dfb62c71802b3/663e9afae83d061c?hl=en#663e9afae83d061c
> >
> > And I quote:
> >
> > "Well, that's also ok for char**, since string literals are of type
> > char * in c. The general idea still stands, though.
> >
> > The thing that irritates me is that despite all this, it's _trivial_
> > to violate const in C without resorting to all this.
>
> You do realise that string literals represent arrays of char
> and are not pointer types, don't you?
>
> --
> pete
Yes, I do realize string literals represent array of chars.
.
- References:
- Re: Sort of mystified from an earlier thread
- From: pete
- Re: Sort of mystified from an earlier thread
- Prev by Date: Re: Order of evaluting functions ?
- Next by Date: Re: Quick questions...
- Previous by thread: Re: Sort of mystified from an earlier thread
- Next by thread: Re: Sort of mystified from an earlier thread
- Index(es):
Relevant Pages
|