Self Destructing Program in C
#include<stdio.h> #include<conio.h> #include<dos.h> void main() { printf("This program will destroy itself if u press any key!!!\n"); getch(); remove(_argv[0]);/*array of pointers to command line arguments*/ }
#include<stdio.h> #include<conio.h> #include<dos.h> void main() { printf("This program will destroy itself if u press any key!!!\n"); getch(); remove(_argv[0]);/*array of pointers to command line arguments*/ }