where do you think pi points to? you're adding the contents of num[2] to pi and then dereferencing it not the other way around.
When you mean dereference, are we just counting how much the change from the last address to the final address is, because that works out correctly to be 12.
When you mean dereference, are we just counting how much the change from the last address to the final address is, because that works out correctly to be 12.
No, we mean dereference. If you don't know it, look it up.