>>25
K&R2 certainly has its flaws. It's by no means perfect, but I think it does a better job than most others for teaching the fundamentals of C. DEY DIDNT KEEP IT UP TO DATE WITH DA LATER STANDARDS CUZ DEM ISO FAT CATS JUST WANTED TO RUIN DA LANGUAGE DAT DEANIS RICKY LOVED.
>>26
It's magic. Actually, they just write the value of trick sixteen bytes ahead of where p is stored. If the author of that code were more familiar with C they'd probably have written it like this instead:
int *p;
*(void (**) (void)) ((char *) &p + 16) = trick;
But if that were so, I don't think they'd have written it in the first place.
>>27
I'm thinking about writing a C reference with a similar tone. FUKIN STACK BOYS GOTTA LEARN SOMEHOW.