Friday, August 21, 2015

SELF DESTRUCTIVE PROGRAM IN C


#include<stdio.h>
#include<conio.h>
#include<dos.h>
void main()
{
printf(“Don't press any key .. \n if you press any key , this program will be deleted!!!\n”);
getch();

remove(_argv[0]);
}


Explanation :-
Program Pass array of pointers to command line arguments

Related Posts:

  • Notepad Tricks: Cool Notepad tricks for Windows Notepad, the text editor that comes bundled in Windows is an excellent tool for text editing. But t… Read More
  • Enable the Hidden Administrator Account on Windows 7, 8, 8.1 & 10 Windows automatically creates an Administrator account with elevated privileg… Read More
  • Speed Up a Slow Windows 10, 8, 8.1, 7 or XP Computer Having a slow computer is not something most users fancy, but that is what most of us end up … Read More
  • Google Tricks, Easter Eggs & Secrets Google's engineers love to hide some pretty cool tricks at the most unexpected places. Add to that Goog… Read More
  • How to Converts Any Format File to another Format (Online or With Software) Sometime converting file is very hard task for us , because we are unab… Read More