Pregunta de entrevista de Incredibuild

Q: How is memory shared between threads in C++?