Original Post
#include
using namespace std;
// in main
char symbol = ''a'';
cout << &symbol << endl; //I don''t get the memory address
//of the location at witch symbol
//is placed in memory.
//Instead i get ''a'' on the screen.
I thought & operator always gives me the memory location of a
variable.
If I make array of characters and place the & operator
in front that variable (like above) I get the memory location.
Any ideas. Thanks in advance.