C program to create a Zombie process Post author:Educate Post published:November 2, 2023 Post category:C and C++ / OS Post comments:0 Comments #include #include #include int main () { int pid_t child_pid; child_pid = fork (); if (child_pid > 0) { sleep (60); } else { exit (0); } return 0; } You Might Also Like C program for sort the elements of an array in descending order August 2, 2023 C program to swap two numbers using functions August 2, 2023 C program to check whether a character is a vowel or consonant August 28, 2023 Leave a Reply Cancel replyCommentEnter your name or username to comment Enter your email address to comment Enter your website URL (optional) Save my name, email, and website in this browser for the next time I comment.