how has C bitten you?

Conrad Huang conrad at ucsfcca.UUCP
Thu Aug 15 14:50:07 AEST 1985


This one got me:

foo(a, b)
int	a[16], b[16];
{

	bcopy((char *) a, (char *) b, sizeof a);
	...
}

'sizeof a' is, of course, 4 (here).

					Eric



More information about the Comp.lang.c mailing list