Last active
August 25, 2019 19:34
-
-
Save aledruetta/e6e95ebc67f4d84fb27b726d5d4d1003 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
void foo ( Lista *p ) { | |
// modifica p | |
} | |
int main () { | |
Lista a; | |
// passa "a" como referência | |
foo ( &a ); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment