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
What is stl stack?
What is meant by stl in c++?
What is a stl vector?
Can we use stl in coding interviews?
What is a list in c++ stl?
please visit this site you'll find my question this is my homework please answer it if you can http://easyscience.org/ib/lofiversion/index.php/t36168.html
What is stl stand for?
What are the components of stl?
When did c++ add stl?
Describe the My Computer and My Documents folders; identify the elements that are present in every Window.
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
Is stl part of c++ standard?
totoo po ba ang manga aliens!
Who wrote stl?
How is stl different from c++ standard library?