PROGRAMMING! BRILLIANT!Posted by Jazon on Apr 1 2008 2:40 pm.Filed under News. |
This made my day. If you do not understand why, then you’re obviously not very far in Computer Science or in Computer Science at all.
Inserting item 0×21718 with priority 500
Current queue:END
Done inserting:
[136984,0.000]END
Basically, I passed a pointer to a function and asked another function to read me back that pointer. Instead of a segmentation fault, I got whatever bits of memory were still in that pointer. I lol’d. APRIL FOOLS APPARENTLY.