Posts

Showing posts from September, 2018

Creates a new process( Child process) by using "fork()" function in C

"Fork" system call use for creates a new process, which is called child process. Which runs concurrently with process (which process called system call “Fork”) & this process is called parent process. Ex-: There is a program it’s called P1. P1--- à                 main(){                                     int a=10,b=5;                     printf(”d“,%a);                    fork();                      printf(“%d”,a+b);      ...