Skip to content

Instantly share code, notes, and snippets.

@jl2
Created September 24, 2015 16:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jl2/2abf03249435322dc19b to your computer and use it in GitHub Desktop.
Save jl2/2abf03249435322dc19b to your computer and use it in GitHub Desktop.
#include <stdio.h>
int my_function(int bob[20]) {
return sizeof(bob);
}
int main(int argc, char *argv[]) {
int array[22] = {0};
printf("%d\n", my_function(array));
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment