Subscripting constant arrays

mrm at datagen.UUCP mrm at datagen.UUCP
Mon Jan 16 00:41:18 AEST 1984


Of course it is legal, and is used quite frequently, usually in conversion
routines.  If you didn't like "0123456789ABCDEF"[i], did you know that:
	i["0123456789ABCDEF"]

is also legal and does the same thing.

	Michael Meissner
	Data General Corporation
	...{allegra, decvax!ittvax, rocky2}!datagen!mrm



More information about the Comp.lang.c mailing list