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 / imran

I dont't think this will compile as its missing a closing
brace.

Is This Answer Correct ?    13 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

sir please send me bpcl previous question papers

1934


What does stl mean in slang?

634


What is stl in c++ with example?

611


What are the components of stl?

603


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

1754






What do stl stand for?

621


i wanted to know about questions about c,c++ , which is required for placements.... im a fresher

1678


What are stl algorithms?

600


totoo po ba ang manga aliens!

2319


What is stl language?

657


What is stl in oop?

657


What is a standard template library (stl)? What are the various types of stl containers?

648


What are the various types of stl containers?

709


In what scenario does the Logical file and Physical file being used?

2292


write a program that will accept a number and print.its equivalent in words the maximum input number is 9999

2482