Created
July 24, 2012 12:43
-
-
Save cheery/3169741 to your computer and use it in GitHub Desktop.
hello to you too!
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
#include <stdio.h> | |
struct hello { | |
int hello; | |
}; | |
typedef struct hello hello; | |
hello* buffalo(hello* hello) { | |
hello->hello = 5; | |
return hello; | |
} | |
int main() { | |
hello* hey; | |
hello hello; | |
hello.hello = 4; | |
hey = buffalo(&hello); | |
printf("greeting num %i\n", hey->hello); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hello buffalo. ^^