MCQs>IT & Programming>System Programming>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?
System Programming MCQs
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?
Answer
Correct Answer: It isn't possible to tell without looking at my_print_func()
Explanation:
Note: This Question is unanswered, help us to find answer for this one