Suppose I want to get the memory address of the first character in:
char *t = "sample";
I would think that the value of:
cout << &t
cout << static_cast< void * >( t )
would be the same since "t" is basically a pointer pointing to the first character of "sample". However, when I run it, I get different values... can someone help me understand? I know I'm missing something...