InterviewSolution
Saved Bookmarks
| 1. |
Predict The Output Of The Following Program Code? main() { fork(); printf("hello World!"); } |
|
Answer» Output : PRINTS HELLO world Hello world. All the statements after the CALL to FORK() will be executed TWICE Output : prints Hello world Hello world. All the statements after the call to fork() will be executed twice |
|