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

Related Posts 👇

Leave a Reply

Your email address will not be published. Required fields are marked *