While executing the statement c++/c– in Producer-Consumer problem, at back end certain number of instructions are executed, if interleaving of statements happen, it create race condition. Tell number of instructions that require “no interleaving” while executing c++/c–?

(A) 0
(B) 1
(C) 2
(D) 3

__ is a segment of code that accesses a shared resource like data structure or device that must not be concurrently accessed by more than one thread of execution.

(A) Pipelining
(B) Critical Section
(C) Context switching
(D) Multithreading