C
ccwork
Hi,
In C FAQ, question 6.7:
How can an array be an lvalue, if you can't assign to it?
-------------------------------------------------------------
The ANSI C Standard defines a ``modifiable lvalue,'' which an array is
not.
References: ANSI Sec. 3.2.2.1
ISO Sec. 6.2.2.1
Rationale Sec. 3.2.2.1
H&S Sec. 7.1 p. 179
I don't understand why array is lvalue. To me the answer is saying
that array is NOT lvalue.
In C FAQ, question 6.7:
How can an array be an lvalue, if you can't assign to it?
-------------------------------------------------------------
The ANSI C Standard defines a ``modifiable lvalue,'' which an array is
not.
References: ANSI Sec. 3.2.2.1
ISO Sec. 6.2.2.1
Rationale Sec. 3.2.2.1
H&S Sec. 7.1 p. 179
I don't understand why array is lvalue. To me the answer is saying
that array is NOT lvalue.