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

How to remove the first line/header from a file in Unix?

1058


What is Thread dump in unix?

999


What is the difference between unix and windows operating system?

977


What is the home directory in unix?

930


briefly describe the shell's responsibilities?

1261


What is alias mechanism? Explain.

988


How to get the n-th field from a Unix command output?

985


What is the difference between nfs 3 and nfs 4?

1070


Explain about shell aritmetic operators and functions?

1016


What are links and symbolic links in UNIX file system?

992


What are the criteria for choosing a process for swapping out of the memory to the swap device?

1017


Why kernel is known as the heart of unix os?

992


Write down some common shells with their indicators?

1071


What is difference between ssh v1 and ssh v2?

935


Differentiate between paging and swapping?

906