The following code is written to be accessed by multiple detached threads. : const char * c; char * d; : /* no lock and no mutex is used in any way here */ my_print_func (c - &d); : Which one of the following will happen when this code is re-entered by multiple threads?

🎲 Try a Random Question  |  Total Questions in Quiz: 84  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
System Programming Fundamentals Test 2 — practice the complete quiz, review flashcards, or try a random question.


The following code is written to be accessed by multiple detached threads. : const char * c; char * d; : /* no lock and no mutex is used in any way here */ my_print_func (c - &d); : Which one of the following will happen when this code is re-entered by multiple threads?