Skip to content

Instantly share code, notes, and snippets.

@paulera
Forked from lucasmezencio/problema_c.cpp
Created May 22, 2019 11:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paulera/dec42641883f33077f75d8464cf12818 to your computer and use it in GitHub Desktop.
Save paulera/dec42641883f33077f75d8464cf12818 to your computer and use it in GitHub Desktop.
Problema C
/**
* 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