+ 1

can we keep track of where the compiler allocates memory for variables in c++

Allocation of memory

17th Apr 2020, 5:10 AM
Digvijay Singh Rathore
Digvijay Singh Rathore - avatar
3 Respostas
+ 3
You can use pointers for that. A pointer is a special kind of variable which holds the address of another variable.
17th Apr 2020, 5:15 AM
Arsenic
Arsenic - avatar
+ 1
I know about pointers. I want to know if there are many programs, then could I keep track of a particular address, I mean what is the value stored at that particular address
17th Apr 2020, 5:19 AM
Digvijay Singh Rathore
Digvijay Singh Rathore - avatar