0

I don't know,how does this code output "8"

Please clear my doubt https://code.sololearn.com/cXG0O2pS5Iun/?ref=app

23rd Jun 2021, 10:28 AM
Yogeshwaran P
Yogeshwaran P - avatar
2 Respuestas
+ 3
Pointers are stored as unsigned integers. So a pointer will be of 8 bytes (on a 64-bit system) regardless of which type they point to (not sure if 8 bytes applies to all compilers)
23rd Jun 2021, 10:36 AM
XXX
XXX - avatar
+ 1
Thank you XXX (•‿•)
23rd Jun 2021, 10:39 AM
Yogeshwaran P
Yogeshwaran P - avatar