Last active
December 14, 2017 16:24
-
-
Save paulopatto/e526736ff3b960c20ae226d1f6eec566 to your computer and use it in GitHub Desktop.
Morse: Qual o resultado de morse() em cada um dos casos?
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
/// ANSI C | |
int morse() { | |
int o = 10; | |
return --o-o--; | |
} |
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
/// Java | |
public static int morse() { | |
int o = 10; | |
return --o-o--; | |
} |
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
/// JavaScript | |
function morse() { | |
var o = 10; | |
return --o-o--; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment