effect of free()

T. William Wells bill at twwells.com
Fri Sep 22 06:21:56 AEST 1989


In article <591 at augean.OZ>  writes:
: It violates the law of least surprises to have variables suddenly made
: inaccessable by being a call by value argument to a function.

There is no such thing as "the law of least surprise". What is
surprising to one person is unarguable common sense to another.

I find it surprising that some fools think that the pointer must have
any kind of validity after it is freed. Once freed it's GONE, folks.

---
Bill                    { uunet | novavax | ankh | sunvice } !twwells!bill
bill at twwells.com



More information about the Comp.lang.c mailing list