Categories c programming tips and tricks Log off computer Using C. Post author By Muhammad Umair Post date December 23, 2021 No Comments on Log off computer Using C. #include <windows.h> int main(){ system("shutdown -l -f -t 00"); } ← Pointer to array and Array of Pointers. → Maintain good posture when you’re programming Leave a Reply Cancel replyYour email address will not be published. Required fields are marked *Comment * Name * Email * Website Save my name, email, and website in this browser for the next time I comment.