Question: How to Shut Down Computer Using C
Solution: Here is code of to Shut Down Computer Using C
#include <stdio.h>
#include <stdlib.h>
int main()
{
system("c:\\windows\\system32\\shutdown /s"); //shutdown
return 0;
}
Question: How to Shut Down Computer Using C
Solution: Here is code of to Shut Down Computer Using C
#include <stdio.h>
#include <stdlib.h>
int main()
{
system("c:\\windows\\system32\\shutdown /s"); //shutdown
return 0;
}