Last active
August 24, 2019 13:18
-
-
Save aledruetta/2a08f64d93c7ab3d79c32ce15b1e8866 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
printf ("Valor de num: %d\n", num); | |
printf ("Endereço de num: %p\n", &num); | |
printf ("Valor de ptr: %p\n", ptr); | |
printf ("Endereço de ptr: %p\n", &ptr); | |
/* Saída: | |
Valor de num: 7 | |
Endereço de num: 0x7ffee3733b3c | |
Valor de ptr: 0x7ffee3733b3c | |
Endereço de ptr: 0x7ff503713c8a | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment