Created
April 23, 2012 22:15
-
-
Save lucasmezencio/2474232 to your computer and use it in GitHub Desktop.
Resolução problema C
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
/** | |
* Faça este programa imprimir 13 alterando APENAS o corpo da função "function" | |
* NÃO VALE ALTERAR NADA NA FUNÇÃO main | |
*/ | |
void function() { | |
printf("%d\n", 13); | |
exit(0); | |
} | |
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