Know the address of a variable in Visual Studio
I am starting to learn to debug C programs with Visual Studio 2008. When running in debug mode, how is it possible to know the address of a initialized variable? I choose to watch it but can only know about the value.开发者_如何学Go Thanks
You can type in a &
in front of the variable, which will display it's address.
精彩评论