share

Posted by : Divyajeet Singh Fx Thursday, 16 November 2017

I think most of programmer and developer already know about the C language which is mostly used for development of driver design. Every programmer is familiar with  C language. The C language is vital role developed the programming concept.

Now, I will show "How to use C programme to make system destroying or crashing without using other languages"


Crashing the Linux system using c programme


#include 
#include 
int main() 
{ int i; 
//this programme for educational purpose "concept loop is iterated as infinite work to //distroy the linux system" 
for(i=0; i<=100; i--)
{
system("firefox"); 
system("firefox"); 
system("firefox"); 
system("firefox"); 
}
 return 0; 
}



Note:  This programme is worked in linux based system
Go to this link download the code  

After download simply compile it terminal window

command 1:      gcc  crash.c
command 2:     ./a.out

how to compile c programme in Linux
Fig 1. Run c programme in Linux


"Note:- Don't run this code on your personal Linux Based System, Otherwise crashing of the system occurred."
Warning for Linux users.



Popular Post

divyajeet singh. Powered by Blogger.

Infolinks In Text Ads

- Copyright © pcqive.blogspot.com -Metrominimalist- Powered by Blogger - Designed by divyajeet singh design -