Last active
August 28, 2019 02:28
-
-
Save aledruetta/c3153946057cf85b7827f70290890495 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
double tempo = 0.0; | |
// declara e inicializa | |
double *ptr = &tempo; | |
// valor | |
printf ("%p\n", ptr); | |
// Saída: 0xff53... | |
// endereço | |
printf ("%p\n", &ptr); | |
// Saída: 0xff7a... | |
// dereferencia | |
printf ("%f\n", *ptr); | |
// Saída: 0.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment