Incredibuild Interview Question

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