A procedure defined within a ________ can access only those variables declared locally within the _______ and its formal parameters.
(a) process, semaphore
(b) process, monitor
(c) semaphore, semaphore
(d) monitor, monitor
I had been asked this question at a job interview.
My question is from Monitors topic in chapter Process Synchronization of Operating System