Created
September 16, 2016 04:06
-
-
Save regehr/51b00cb2a28874b7bf79751b7998d55d to your computer and use it in GitHub Desktop.
This file contains 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
int a1[10]; | |
int *a2; | |
int foo1(int i) { | |
return a1[i]; | |
} | |
int foo2(int *a, int i) { | |
return a[i]; | |
} | |
int foo3(int i) { | |
return foo2(a1, i); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment