If you are using something like UB, there is absolutely no guarantee at all what the address will be. You cannot depend on it being the same every time.
However, you can try disabling ASLR in the Linker settings - one of the attributes there is "Randomized Base Address".
The command-line syntax is /DYNAMICBASE:NO
. It doesn't exist in Visual Studio 2005, but it does exist in VS 2012 and later.