Predict the output of the following program code. main() { fork(); printf("Hello World!"); } Answer: Hello World!Hello World! Explanation: The fork creates a child that is a duplicate of the parent process. The child begins from the fork(). All the statements after the cal...
See more
Download the Study24x7 App, so you can connect and collaborate.