0 votes 0 votes I) CODE 1 guarantees Mutual Exclusion II) CODE 2 guarantees Mutual Exclusion III) CODE 2 leads to Deadlock Which of the above statements are TRUE???? 1. I and II only 2. II and III only 3. I and III only 4. All I,II and II Deepanshu asked Sep 21, 2018 Deepanshu 626 views answer comment Share Follow See all 15 Comments See all 15 15 Comments reply Show 12 previous comments Shaik Masthan commented Sep 28, 2018 reply Follow Share @prince Can you justify your statement s on code2 ? 0 votes 0 votes Prince Sindhiya commented Sep 28, 2018 i edited by Shaik Masthan Jan 2, 2019 reply Follow Share @shaikh bro In second code flag[1] is always false no one is going to make it true ,so both p0 and P1 can enter into cs 0 votes 0 votes Shaik Masthan commented Jan 2, 2019 reply Follow Share it is not, flag[0], it should be flag[i] in the both codes... it is a typing mistake only 0 votes 0 votes Please log in or register to add a comment.