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 meant by the term nohup?

0 Answers  


Describe a link in unix.

0 Answers  


What uses unix operating system?

0 Answers  


What is Quorum Group? and Quorum Disk?

1 Answers   IBM,


Suppose I have one column with data smithjohnmichale the o/p should be smith,john, michale how we do in unix?

0 Answers  






What are the components of unix kernel?

0 Answers  


Is unix a programming language?

0 Answers  


What is unix directory structure?

0 Answers  


Which data structure is used to maintain the file identification?

0 Answers  


What does unix like mean?

0 Answers  


What are shell variables?

0 Answers  


Is learning unix useful?

0 Answers  


Categories