Last active
November 3, 2016 17:13
-
-
Save garymacindoe/433d44d8f517a6a34b4d21e1fadcede1 to your computer and use it in GitHub Desktop.
Code that is both valid C and Java
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
//\ | |
public class C { //\ | |
public static void main(String[] args) { //\ | |
System.out.println("hello"/* | |
#include <stdio.h> | |
int main() { | |
{ | |
return puts("world"/**/); | |
} | |
} |
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
//\ | |
public class C { //\ | |
public static void main(String[] args) { //\ | |
System.out.println("hello"/* | |
#include <stdio.h> | |
int main() { | |
{ | |
return puts("world"/**/); | |
} | |
} |
Author
garymacindoe
commented
Nov 3, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment