Skip to content

Instantly share code, notes, and snippets.

@yhaskell
Created January 17, 2017 17:25
Show Gist options
  • Save yhaskell/99b60969be7250121255f8336d55db6d to your computer and use it in GitHub Desktop.
Save yhaskell/99b60969be7250121255f8336d55db6d to your computer and use it in GitHub Desktop.
#include <stdio.h>
int foo(struct { int hui; } *klimov) {
return klimov->hui * 42;
}
int main() {
struct { int hui; } klmv;
klmv.hui = 42;
printf("%d\n", foo(&klmv));
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment