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

»Important Links:

English McqsGeneral Knowledge McqsPak Studies Mcqs
Current Affairs McqsCurrent Affairs Mcqs PDFCurrent Affairs of Pakistan
Books PDFNotes PDFIslamic Studies Mcqs

Leave a Reply

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

error: Content is protected !!