-
-
Save crazymonkyyy/62fdfc5e11ae12206f08910ce26df5cc to your computer and use it in GitHub Desktop.
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
| import core.stdc.stdio; | |
| extern(C) void main(){ | |
| string s="hello"; | |
| printf("%s",&s[0]); | |
| } | |
| /* | |
| dmd -c -betterC min.d | |
| gcc min.o -o min | |
| ./min | |
| */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment