A. to use primary memory efficently - प्रभावी ढंग से प्राइमरी मेमोरी का यूज़ करने के लिए
B. to do intra process communication - इंट्रा प्रोसेस कम्युनिकेशन करने के लिए
C. to do inter process communication - इंटर प्रोसेस कम्युनिकेशन करना
D. None of above - इनमें से कोई भी नहीं
The main function of shared memory is to provide a mechanism for inter-process communication (IPC), allowing multiple processes to share data and communicate with each other more efficiently. Shared memory is a method by which several processes can access common data structures, variables, or segments of memory.