Array Initialization - (nf)

ss at rabbit.UUCP ss at rabbit.UUCP
Sat Jul 9 00:17:05 AEST 1983


	K&R p. 198 says statics and externals are guaranteed to be
	"uninitialized" to zero; automatic and register are guaranteed
	to be "uninitialized" to garbage.

	Since this is supposed to be the "standard"...


					       --Tucker (ptw at vaxine.UUCP)


I do wish people would at least READ the book before quoting from it. K&R
p. 198 says

"Static and external variables which are not initialized are guaranteed to
start off as 0; automatic and register variables which are not initialized
are guaranteed to start off as garbage."

	Yes, that is supposed to be the "standard"...

						-- Sharad Singhal
						   ..!rabbit!ss



More information about the Comp.lang.c mailing list