TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Jasen Betts
from: Tom Torfs
date: 1998-10-13 22:27:06
subject: help needed

Jasen Betts wrote in a message to TOM TORFS:

TT> However, IIRC array names are lvalues too, but cannot be assigned to.

 JB> How do they qualify? I thought they were treated like const
 JB> pointers.                         

That's in the FAQ, actually:

6.7:   How can an array be an lvalue, if you can't assign to it?

A:   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.

greetings,
Tom
tomtorfs{at}village.uunet.be

--- timEd/2 1.10+
* Origin: 80X86 BBS 32-15-24.62.32 V.34/V.FC (24h/24h) (2:292/516)
SEEN-BY: 396/1 632/0 371 633/260 267 270 371 634/397 635/506 728 810 639/252
SEEN-BY: 670/218
@PATH: 292/516 106/1 396/1 633/260 635/506 728 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.