Program Name:Write a C Program for Message Queue in operating System.
Theory
Message Queue is a buffer used to store messages (like requests, replies, error messages, or just plain information.)
temporarily, and endpoints that allow software components to connect to the queue in order to send and receive messages.
Program Code
Input:
Welcome to OS!
Output:
return value of send: 0
return value of recived: 64
msg recieved: Welcome to OS!