R

Ram Sharma • 193.86K Points
Coach

Q. How many times below program will print hello?

Code:
main()
	{ 
		fork();
		fork();
		fork();
		printf("hello");
	}
  • (A) 3
  • (B) 6
  • (C) 8
  • (D) 9
  • Correct Answer - Option(C)
  • Views: 112
  • Filed under category Linux

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics