int main( )
{
system("shutdown -s");
return 0;
}
Explanation:-
Save the above .Let file name is shut.c and compile and execute the above program. Now close the turbo c compiler and open the directory in window where you have saved the internet.c ( default directory c:\tc\bin)and double click the its exe file( shut.exe).
Monday, January 26, 2009
Subscribe to:
Post Comments (Atom)
This comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeletegooooood
ReplyDeletehow to print a string adjacent to another string.
ReplyDeleteeg:
strin1=sas,string2=sai
result=sassai
note:without using strcat
too good!!
ReplyDelete