On Tue, Oct 11, 2005 at 17:49:16 -0400, Bob Copeland wrote: > > Actually, I think > > > > char *foo; > > > > is more nearly equivalent to > > > > char *foo = NULL; > > Except unassigned pointers are not guaranteed to point to anything. > They might be NULL, or 0xdeadbeef, or -31415926535. It depends. Those with storage class auto or register are random, those with storage class static or extern are zeroed. -- Jan 'Bulb' Hudec <bulb@xxxxxx>
Attachment:
signature.asc
Description: Digital signature