-
-
Save paulera/dec42641883f33077f75d8464cf12818 to your computer and use it in GitHub Desktop.
Problema C
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
/** | |
* Make this program to print 13 making changes ONLY the body of the "function" function | |
* You are NOT ALLOWED to change NOTHING in the "main" function | |
*/ | |
void function() { | |
/* EDIT ONLY HERE */ | |
} | |
int main() { | |
int x; | |
x = 13; | |
function(); | |
x++; | |
printf("%d\n", x); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment