The C programming language can be used to write a program which can be used to shut down your personal computer (which is abbreviated as PC). The only drawback of trying to shut down your personal computer (PC) using a program written in the C programming language is that the program will only shut down those computers which support the Microsoft Windows 9x operating system. The program must be compiled as an application of Windows and not as an application of the console.
The program to shut down the PC using the C programming language is compiled as follows: int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE, hPrevinstance, LPSTR lpCmdLine, int nCmdShow) {ExitWindowsEx(EWX_FORCE\EWX_SHUTDOWN, NULL); return 0;}
This is quoted from the Win32 API in Borland C++ 4.52 IDE. Most users actually do not use this program as they not actually need to shut down their personal computers. They usually use the ExitWindows function as their programs usually require only a reboot and not actually a shut down as such.