Thread
:
Adding The Values of Pointers
View Single Post
Jun 27th, 2007, 10:24 PM
#
4
Dameon
Troll
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power:
4
Well of course that will work. You aren't dereferencing x.
x is 3. *x is the integer at memory address 3, which isn't in your program's address space.
__________________
MD5(sig) = bcef75433db02e9ad9bf81d6f7c5c270
Dameon
View Public Profile
Visit Dameon's homepage!
Find More Posts by Dameon