Created
April 29, 2015 11:57
-
-
Save chrisseaton/18fd9d68db57515f0c8b 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
#include <stdio.h> | |
struct Foo { | |
int x; | |
}; | |
int baz(int *bar) { | |
return *bar; | |
} | |
int main(int argc, char** argv) | |
{ | |
struct Foo foo; | |
baz(&foo.x); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment