Showing posts with label exec. Show all posts
Showing posts with label exec. Show all posts

How to use fork and exec System Call

Using fork and exec System calls in Linux (UNIX) operating systems. Fork system call is used to create a child process from a parent process.
#include<stdio.h>
main()
{