Path: csiph.com!weretis.net!feeder4.news.weretis.net!border2.nntp.ams1.giganews.com!nntp.giganews.com!buffer2.nntp.ams1.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail NNTP-Posting-Date: Thu, 13 Oct 2016 12:57:23 -0500 From: Gareth Owen Newsgroups: comp.lang.c Subject: Re: C Programming Tutorial on Youtube References: <8be0cdbe-c2f4-42ec-b6a7-e9a154981718@googlegroups.com> <87shs18l6f.fsf@bsb.me.uk> <871szk8n9o.fsf@bsb.me.uk> Date: Thu, 13 Oct 2016 18:57:23 +0100 Message-ID: <878ttsku7w.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:US/qTWZIvUzmrMRuQ0CiABEyXIQ= MIME-Version: 1.0 Content-Type: text/plain Lines: 20 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-Rrnkb2l95irDxXzfFNCB0zMKKjYhEodrCcdbqPxaVrtTzNVN9PtL5fsr2Xb7/pMaJ5iiY/WMBQaDuf2!WelO0fE/4nd4NmRii4uoXmmqhmXRPXX8hFzSCmzbEHv1vRcNasynNhGiwzdWMrULqOlG X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2451 Xref: csiph.com comp.lang.c:94834 Keith Thompson writes: > Ben Bacarisse writes: >> Malcolm McLean writes: > [...] >>> char buff[1024]; > [...] >>> buff is a constant character pointer, except for the odd little >>> quirk which is mainly undesireable in real code anyway. >> >> No it isn't is constant character pointer. It is an expression with >> array type that is not an lvalue. > > What do you mean it's not an lvalue? He means "modifiable lvalue". A natural mistake to make if your approximate mnemonic for l-value is "Can go on the left side of an = sign", which is the source of the name, if not technically correct in C.