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...

Give the output of the following program
main()
{int ret;
ret=fork();ret=fork();ret=fork();ret=fork();
if(!ret)
printf("sun");
else
printf("solaris");

Answer Posted / pdp

It depends on the return value of fork(). If it is other
than 0 (zero), then the output is solaris else sun.

Is This Answer Correct ?    6 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you convert stl to steps?

1207


What are stl algorithms?

1218


Why should a c++ programmer be interested in stl?

1152


write a program that will accept a number and print.its equivalent in words the maximum input number is 9999

3089


how can u do connectivity in c++ language? plz send me connectivity code in c++ ?

2398


sir please send me bpcl previous question papers

2460


What are the symptoms of stl?

1154


What is stl stand for?

1281


What are the various types of stl containers?

1243


Who wrote stl?

1188


help me i need a c++ program which takes sequesnce of characters and outputed sequence of their token taypes, work same compiler in lexical analysis phase

2428


a program using one dimensional array that searches a number if it is found on the list of given input numbers given by the user and locate its exact location in the list.

2032


What is a stl vector?

1367


What are the components of stl?

1172


Name the different types of stl containers.

1220