Created
April 7, 2014 21:40
-
-
Save Keith-S-Thompson/10063239 to your computer and use it in GitHub Desktop.
Response to http://stackoverflow.com/a/22918463/827263
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
/* | |
* In response to http://stackoverflow.com/a/22918463/827263 | |
* "In C you can't declare variables/functions (in same scope) with the same name more than once." | |
*/ | |
#include <stdio.h> | |
void yes_you_can(void); | |
void yes_you_can(void); | |
void yes_you_can(void); | |
void yes_you_can(void) { | |
puts("Yes, you can"); | |
} | |
int main(void) { | |
yes_you_can(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment