Your code exploited a buffer overflow in my compiler which caused the instruction pointer to jump to a low-level API that opens the CD-ROM drive. I had a CD burning there, so it flew out of the drive and cut my cat's throat. Now my only friend is dead. Thanks a lot.
Name:
Anonymous2011-06-16 8:05
>>10
You think you're doing bad? I don't have any friends in the first place!;_;
AFAICS the first statement in factorial() warps the return address pointer on the stack 5 bytes back (unless 'in' is 1), so after returning from factorial, the PC is back on the statement of jumping to the subroutine factorial() again. So, effectively Anonymous loops by doing this.
But I've never seen this done in C before, so thank you for the inspiring idea!