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
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
What are the symptoms of stl?
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
What is stl in c++ with example?
What are the components of stl?
What are the different types of stl containers?
What does stl stand for in basketball?
Describe the My Computer and My Documents folders; identify the elements that are present in every Window.
how can u do connectivity in c++ language? plz send me connectivity code in c++ ?
What is a standard template library (stl)? What are the various types of stl containers?
How does an stl file work?
Is string part of stl?
how to making game in c++ ?
Define stl.
what is template and type convertion