Variable size/Set: Difference between revisions

m
Line 294:
 
=={{header|Julia}}==
<lang julia>types = [Char, Int8, UInt8, Int16, UInt16, Int32, UInt32, Int64, UInt64]
 
for t in types
Line 304:
println("For user defined type MyInt24, size is ", sizeof(MyInt24))
</lang> {{output}} <pre>
For type Char size is 4.
For type Int8 size is 1.
For type UInt8 size is 1.
4,103

edits