Created
September 29, 2023 06:53
-
-
Save run-dlang/a1f9592df6e6937f1b440b20a270a0d8 to your computer and use it in GitHub Desktop.
Code shared from run.dlang.io.
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 std; | |
void main() | |
{ | |
byte a = 2; | |
ulong b = 50000000000UL; | |
long c = -10000L; | |
ubyte d = 130; | |
writeln("a(byte)=",a); | |
writeln("b(ulong)=",b); | |
writeln("c(long)=",c) ; | |
writeln("d(ubyte)=",d); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment