Program: Write a code in C language for the definition of two queues, one to hold the process in ready state and one to hold the process in waiting state. The queue should be designed to manage a process structure.
Add comments in code section that will be useful.