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