The dark side of C !
Hey everyone.. So the C language is not any other boring programming language.. C language is actually one of the most secure programming languages that is present.
However , c has also been  used  to create some amazingly cool viruses. To gain an insight into that, I'll just give a small example of how it works.Though not really destructive , this can be a start to understand how powerful a small code in c can be.
Step 1:Â Write the following program in TURBO C.
#include<stdio.h>
#include<dos.h>
int main (void){
   system("shutdown -s");
    return 0;
}
Step 2: Save the above file. Let the  file name is close.c
Step 3: Only compile the above program.
Step 4: Now close the turbo c compiler and open that directory in the  windows operating system where you saved the close.c (default directory c:\tc\bin)
Step 5:Â Double click on its .exe file (close.exe)
And voila,
After some time your windows operating system will shutdown.
 Now this is just a small code for educational  purpose. Don't look so much into , rather just impress your friends . Until next time :)

















