Relative Content

Tag Archive for cmemory-address

Why is the memory address the same for these two variables? [duplicate]

This question already has answers here: Why are the addresses of two variables in separate functions stored at the same address? (2 answers) Closed last month. when i run this program the memory address of variables x and y are the same. my best guess would be that since the variables exist in functions that […]