Created
December 19, 2017 06:34
-
-
Save bennetthardwick/37d1eb6f6585efb8e623941991a04cc8 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
#include <stdio.h> | |
int a = 0; | |
int increment(){ | |
return ++a; | |
} | |
int main(){ | |
printf("%d and %d\n", 1, 2); | |
printf("%d and %d\n", increment(), increment()); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment