Why do I get warning when printing the address? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Why do I get warning when printing the address?

https://code.sololearn.com/cpXA5p2iH4K9/?ref=app

15th Jul 2021, 11:13 AM
Srinath
2 Antworten
+ 2
%x expects type to be unsigned int but you are printing a address . For adress you need to use %p
15th Jul 2021, 11:22 AM
Abhay
Abhay - avatar
+ 1
Abhay thanks
15th Jul 2021, 11:47 AM
Srinath