0

Why i dis lesson to print out the address of an integer we use "%x"

9th Jul 2021, 6:08 AM
Mbi Leonard Appelgryn
Mbi Leonard Appelgryn - avatar
7 Respostas
+ 3
Jazz Why should we use "%p" instead of "%x" while displaying pointers in C? They're one and the same, right?
9th Jul 2021, 7:27 AM
Calvin Thomas
Calvin Thomas - avatar
+ 1
Jazz That's very interesting. Thank you!
9th Jul 2021, 8:25 AM
Calvin Thomas
Calvin Thomas - avatar
+ 1
Jazz Thank you.
9th Jul 2021, 10:25 AM
Calvin Thomas
Calvin Thomas - avatar
0
Jazz How is it possible to read more than 1 byte using the hex format specifier? Google isn't helping me.
9th Jul 2021, 8:45 AM
Calvin Thomas
Calvin Thomas - avatar