Operating System Programs:
Operating System Programs: Assignment 1: Set A(1) /* Implement the C Program to create a child process using fork(), display parent and child process id. Child process will display the message “I am Child Process” and the parent process should display “I am Parent Process". */ #include < stdio.h > #include < unistd.h > #include < sys/types.h > int main () { int p ; p = fork (); if ( p < 0 ) printf ( "\n program cannot executed.. " ); else if ( p == 0 ) { printf ( "\n I'm child Process.. " ); printf ( "\n the child process id is: %d " , getpid ()); } else { printf ( "\n I'm the Parent Pro...