Saturday, December 01, 2007

system(argv[0]);


#include <stdlib.h>

int main(int argc, char **argv){
      system(argv[0]);
      return 0;
}


/*
It was something like this that made my laptop hang. (The additional code were supposed to print something, but curiously didn't work.) I just wanted to see what would happen. The source file was named loop.c, by the way.
*/

No comments: