micromoog <micromoog@gmail.com> wrote:
+---------------
| Rob Warnock wrote:
| > Clearly, the two functions are sharing the same '(0)!!
| > Since modifying a constant [as above] is "undefined" behavior,
| > worse things could happen. YMMV...
|
| Wow, that is truly weird. I think I'd better stay away from
| modifying constants for now :)
+---------------
Please, not just "for now" -- forever! Remember, "undefined behavior"
means *anything* can happen: a core-dump, a locked-up system, deleting
all your files ("rm -rf /"), launching thermonuclear weapons, etc.
-Rob
-----
Rob Warnock <rpw3@rpw3.org>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607