Am having a hard time trying to figure this out. When we type in c++
int a = 4;
It is clear that the memory manager allocates 4 bytes to hold the value 4 and keeps that value in a specific address.. Giving the fact that "a" variable is just a name.
- Where is the variable "a" stored?
- Does it store it somewhere in memory and points to the memory address of 4, since we know that 4 is just a temporary objects on it's own and "a" kinda binds either a reference or pointer to it