You problem is that the debugger is too intelligent and automatically interprets the address.
The address is already the value of hello
. There is no need to take the address of that variable with &
as the other answers suggest.
Would you could probably do is use another variable that is explictly a pointer, assign hello to that and look up that value in the debugger:
char hello[7] = "hello";
char* helloaddr = hello;