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
Do you like to Submit Questions in Bulk under Same Category?? Then use our Bulk ListerDo you like to Submit Questions in Bulk under Same Category?? Then use our Bulk Lister
What are stl algorithms?
write a program to convert a decimal number in to its equivalent binary number?
What are the different types of stl containers?
What is a standard template library (stl)? What are the various types of stl containers?
Can we use stl in coding interviews?
How does an stl file work?
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
What is stl in c++ with example?
How do you convert stl to steps?
What are the various types of stl containers?
What does stl stand for in basketball?
Describe how to safeguard a system through acquisition of an antivirus Program and systematic backup.
How connect plc and pc through software
how to use C++?