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 / anupam mittal
The ans depend on the value returned by the fork function
there is no fork function defined so we can not predict he
ans
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is a list in c++ stl?
Is string part of stl?
Can we use stl in coding interviews?
Who created 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
write a program to convert a decimal number in to its equivalent binary number?
how to use C++?
What is the use of stl?
What is stl stand for?
What are the symptoms of stl?
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.
Is stl open source?
how to making game in c++ ?
Is there any error below, its a code to delete all entires from a map #include
In what scenario does the Logical file and Physical file being used?