Why should i use %p for pointer when i can use %u for address ?
Why should i use %p for pointer when i can use %u for address ?
%p will output it in a nice readable way (identical to %08X on my machine I think), and I also think there's no guarantee that pointers can be treated as integers.
7. It is easier to write an incorrect program than understand a correct one.
40. There are two ways to write error-free programs; only the third one works.*