Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is output of the following?

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


Please Help Members By Posting Answers For Below Questions

What do you understand by the term filters?

966


How does the kernel differentiate device files and ordinary files?

1039


Is it possible to see information about a process while it is being executed?

1253


List some of the frequent shells used in unix along with their indicators?

914


What are directories in unix?

930


Which file system is used in unix?

1001


How to change the directory in unix?

1007


What is difference between ssh v1 and ssh v2?

948


How to print/display the first line of a file in Unix?

1006


How to find the path in unix?

1058


What does shebang mean in unix?

919


What are the hidden files in unix?

1086


What is af_unix?

867


What are positional parameters in unix?

1034


Which data structure is used to maintain the file identification?

963