Pergunta de entrevista da empresa takealot.com

How would the variable of a common function behave if its accessed by multiple threads ?