What compiler did u use to compile this ?
In my gcc compiler, both the statements gives error.
It may be compiler specific.
This may be tha alternative soln.
Assign the variable i to p (ie . p = &i) and do pointer arithmetic on p.
--
Regards,
Venkatesan P.R,
India.
------------------------------------------------------