I think it's highly questionable that any implementation would print "i" as the name of the type of "*pi". I will take a wild guess and say that the op's code is not actually the same.
Last edited on
In truth - my results were exactly as described
by viliml when I used GCC compiler
but visual studio printouts were fine
@JLBorges: thanks, now it works on my comp too.
I feel a headache when I see the codes Hehehe ..
i have study more , i really want become good at it ..