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
Does apple use unix?
What is unix and its features?
What is ps1 and ps2 in unix?
What is the use of -l when listing a directory?
What is difference between find and grep in unix?
What does tr H do in unix?
Explain the term filter.
What are the advantages and disadvantages of unix operating system?
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?
Is learning unix useful?
How to stop an infinite loop in unix?
Is it possible to count number char, line in a file; if so, How?
Who developed unix operating system?
What is page fault? Its types?
What are the different versions of unix?