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 / prasanna
It will print solaris first and then sun... A sequence of
solarissun if there is a closing brace at the end..!!
| Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
What are the various types of stl containers?
What is the stl, standard template library?
write a program to convert a decimal number in to its equivalent binary number?
What are the different types of stl containers?
How stl is different from the c++ standard library?
How do you convert stl to steps?
how to use C++?
What is stl stack?
Is string part of stl?
What is stl in c++ with example?
What is a standard template library (stl)? What are the various types of stl containers?
What is meant by stl in c++?
What are the symptoms of stl?
To modify an, existing worksheet. What steps are involved for: 1. Inserting and deleting rows and columns. 2. Printing cell formulas 3Jld displayed values 3. Using the page setup command
how can u do connectivity in c++ language? plz send me connectivity code in c++ ?