:-) operator

John McNamee jpm at bnl.ARPA
Thu Feb 21 18:20:29 AEST 1985


It should be obvious what this would be used for. You place it after an
expression you didnt seriously expect the computer to handle. Usage would
be something like...

	int big[9999999 :-)];

In this case you are telling the compiler that you dont expect it to have
the memory for that array, and that it can pick some random number instead.

Usage after the number 0 could be used as a special case to indicate a null
pointer, since you shouldnt seriously expect that to work on all machines.



More information about the Comp.lang.c mailing list