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:

Latest Jobs in PakistanGovt Jobs in PakistanPrivate Jobs in Pakistan
NTS JobsPPSC JobsFPSC Jobs
Teaching JobsNADRA JobsBank Jobs
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 !!