Yes, when you declare a variable like int a;
Memory is allocated it can seen by running the code
using namespace std;
This prints the address of the variable.What does that mean?. It means that variable exist in memory.
link to code is: http://code.geeksforgeeks.org/0A6Fhw