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 do you understand by the term filters?
How does the kernel differentiate device files and ordinary files?
Is it possible to see information about a process while it is being executed?
List some of the frequent shells used in unix along with their indicators?
What are directories in unix?
Which file system is used in unix?
How to change the directory in unix?
What is difference between ssh v1 and ssh v2?
How to print/display the first line of a file in Unix?
How to find the path in unix?
What does shebang mean in unix?
What are the hidden files in unix?
What is af_unix?
What are positional parameters in unix?
Which data structure is used to maintain the file identification?