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
Describe a link in unix.
Give a brief idea about representation of devices in unix.
How does unix file system work?
What are the file permissions and access modes in unix?
What scheme does the Kernel in Unix System V follow while choosing a swap device among the multiple swap devices?
Where unix is used today?
List some features of unix.
What do you mean by the protection fault?
What is hardlink and softlink in unix?
Explain system bootup in unix.
How do you delete a file in unix?
Explain the importance of directories in a unix system
What is dev null in unix?
Is unix a kernel?
How would you identify daemons in unix?