[NSWI004] printf %p

Georgii Ekserdzhian gxrjan at gmail.com
Tue Sep 29 15:06:51 CEST 2020


Good afternoon,

I have a question about printf and %p specifier. I couldn't find any info
on this.
Why is it printing only 6 lowest bytes of the address? Aren't pointers
supposed to be 8 bytes(at least on 64 bit machine)?

Georgii Ekserdzhian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://d3s.mff.cuni.cz/pipermail/nswi004/attachments/20200929/7b1a2246/attachment.htm>


More information about the NSWI004 mailing list