Readonly variables - (nf)

hamilton at uiucuxc.UUCP hamilton at uiucuxc.UUCP
Mon Aug 22 13:38:41 AEST 1983


#R:decvax:-16900:uiucuxc:21000004:000:115
uiucuxc!hamilton    Aug 21 17:22:00 1983

if the extra storage for the pointer in:
	char *foo = "bar";
bothers you, use:
	char foo[] = { "bar" };
instead...



More information about the Comp.lang.c mailing list