How is access for private variables implemented in C++ under the hood?

Viewed 1836

How does the compiler control protection of variables in memory? Is there a tag bit associated with private variables inside the memory? How does it work?

2 Answers
Related