+ 1

Why is the address of a variable is 12 characters long instead of 8 as given in c course in pointer's section ?

I tried a few codes in comments some gave 8 character and others 12 character https://code.sololearn.com/cIBNsz2q2nq8/?ref=app https://code.sololearn.com/cC3LG82q0CuF/?ref=app

18th Aug 2020, 4:58 AM
Ankush Kurmi
2 Antworten
+ 1
Which codes was that? can you share your code here for a review? Follow this guide to share your code link 👇 https://www.sololearn.com/post/75089/?ref=app
18th Aug 2020, 5:18 AM
Ipang
+ 1
Ankush Kurmi Follow voja's way for printing pointers (memory addresses), use %p specifier in place of %x
18th Aug 2020, 6:08 AM
Ipang