question archive Write complete C program that counts the number of even and odd integers provided from the command line
Subject:Computer SciencePrice: Bought3
Write complete C program that counts the number of even and odd integers provided from the command line. Consider the following points to perform this task.
Parent process will take the input from user.
Child process will display the even and odd integer values.
Suppose parent process is going to sleep for 10 seconds, what will happen if child want to terminate now? In this case, show the state of the child process.