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
How do you convert stl to steps?
What are stl algorithms?
Why should a c++ programmer be interested in stl?
write a program that will accept a number and print.its equivalent in words the maximum input number is 9999
how can u do connectivity in c++ language? plz send me connectivity code in c++ ?
sir please send me bpcl previous question papers
What are the symptoms of stl?
What is stl stand for?
What are the various types of stl containers?
Who wrote stl?
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
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.
What is a stl vector?
What are the components of stl?
Name the different types of stl containers.