When you pass &i to scanf, you're saying "put it at the MEMORY ADDRESS of i". That's what & does; it gets the memory address of the specified variable. If you tried to pass "i", you'd tell scanf to overwrite memory address 0 with the number.
Printf, on the other hand, expects the value, not the memory address. Remove the &.
It works now.
Now the mods can lock the thread! :biggrin.gif: