Answer Posted / nouff
What is output of the following?
main()
{ int z=5;
if (fork()) {
printf("\t ISZC462 ");
z=10;
}
else
printf("Net Prog");
printf(" PID =%d Z=%d \n",getpid(), z);
exit(0);
}
Is the above code leads to zombies state? If your answer is
yes explain how and re-write
the above code to get rid of these states using signal?
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are positional parameters in unix?
Is it possible to create new a file system in UNIX?
You have a file called tonky in the directory honky. Later you add new material to tonky. What changes take place in the directory, inode, and file?
Explain what are links and symbolic links in unix file system?
What is home directory in unix?
What are the hidden files in unix?
Why was unix invented?
Is unix a network operating system?
What is $# in unix?
What are the advantages of unix?
How would you display the last line of a file?
What Happens when you execute a program?
Is mac a unix system?
How to display n-th line of a file in Unix?
Was unix the first operating system?