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
Is there any error below, its a code to delete all entires from a map #include
Who created stl?
What is stl stand for?
Is stl part of c++ standard?
What are the different types of stl containers?
What is stl stack?
Is string part of stl?
What is a standard template library (stl)?
Can we use stl in coding interviews?
i wanted to know about questions about c,c++ , which is required for placements.... im a fresher
How do you convert stl to steps?
Who wrote stl?
Is stl open source?
When did c++ add stl?
What are the components of stl?