On 30 Mar 2013 13:38, "Coda Highland" <
chighland@gmail.com> wrote:
On Sat, Mar 30, 2013 at 6:04 AM, Philipp Janda <siffiejoe@gmx.net> wrote:
> What had me worried for a moment was (emphasis mine)
>
> 6.3.2.1 (Lvalues, arrays, and function designators)
> § 3 Except when it is the operand of the sizeof operator or the unary &
> operator, or is a string literal used to initialize an array, an _expression_
> that has type ‘‘array of type’’ is converted to an _expression_ with type
> ‘‘pointer to type’’ that points to the initial element of the array object
> _and is not an lvalue_. [...]
What made you STOP worrying about this? It still looks completely
relevant... If you can't convert char[] to a char* lvalue, what makes
you able to assign to it?
/s/ Adam