Categories
c programming tips and tricks

Log off computer Using C.

#include <windows.h>

int main(){
   system("shutdown -l -f -t 00");
}

Leave a Reply

Your email address will not be published. Required fields are marked *