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 does a pipe(|) do?

1 Answers  


What are the requirements for a swapper to work?

1 Answers  


What are the advantages of unix?

1 Answers  


What uses unix?

1 Answers  


Assume that there are two different filesystems as /abc and /xyz. There is a file A under filesystem /abc which has to be linked to filesystem /xyz. Which link will you use - soft link or hard link? why?

1 Answers   Accenture,


What is necessary before running a shell script from the terminal?

1 Answers  


Is unix multiuser?

1 Answers  


Explain what are links and symbolic links in unix file system?

1 Answers  


List some features of unix.

1 Answers  


Elucidate on the different ids used in the unix process?

1 Answers  


What is the best free unix based os?

1 Answers  


What does the swapping system do if it identifies the illegal page for swapping?

1 Answers  


Categories