Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c > #120469
| From | Ben Bacarisse <ben.usenet@bsb.me.uk> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: literal string type |
| Date | 2017-09-28 19:12 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <87vak2g09w.fsf@bsb.me.uk> (permalink) |
| References | <150a364a-68b1-4c35-9d34-e94bbf115d23@googlegroups.com> <c282478b-c968-4eb6-8b7a-d9b5b7b4a527@googlegroups.com> |
Malcolm McLean <malcolm.arthur.mclean@gmail.com> writes: <snip> > A string literal has type non-const char * Strictly speaking they have array type, not pointer type. Expressions with array type convert, in almost all cases, into pointers so you can only tell the difference in a few special cases. <snip> -- Ben.
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
literal string type Thiago Adams <thiago.adams@gmail.com> - 2017-09-28 07:41 -0700
Re: literal string type Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2017-09-28 07:50 -0700
Re: literal string type Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-09-28 19:12 +0100
Re: literal string type Keith Thompson <kst-u@mib.org> - 2017-09-28 09:08 -0700
Re: literal string type Thiago Adams <thiago.adams@gmail.com> - 2017-09-28 10:19 -0700
Re: literal string type Keith Thompson <kst-u@mib.org> - 2017-09-28 11:06 -0700
Re: literal string type Thiago Adams <thiago.adams@gmail.com> - 2017-09-28 11:41 -0700
csiph-web