The following C program main() { fork() ; fork() ; printf ("yes"); } If we…
ISRO Scientist/Engineer SC 2018
The following C program
main()
{
fork() ; fork() ; printf ("yes");
}
If we execute this core segment, how many times the string yes will be printed ?
- A.
Only once
- B.
2 times
- C.
4 times
- D.
8 times
Attempted by 1122 students.
Sign up free to check your answer
Sign up freeLoading lesson…

