What is output of the following?



What is output of the following? ..

Answer / 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

More Unix General Interview Questions

What is unix and why it is used?

0 Answers  


Differentiate between paging and swapping?

0 Answers  


Is the Process before and after the swap are the same? Give reason.

0 Answers  


What is a filter in unix?

0 Answers  


How does unix file system work?

0 Answers  


What do you mean by unix operating system?

0 Answers  


Is unix still relevant?

0 Answers  


Explain links and symbolic links.

0 Answers  


What does "bulk loading of a table" mean? Can you describe advantages or disadvantages of using these features?

2 Answers   Accenture,


How many root directories exist in unix?

0 Answers  


What is architecture of unix operating system?

0 Answers  


How can you edit a large file without opening it in unix?

0 Answers  


Categories