all tasks
This commit is contained in:
parent
b83f433714
commit
68f8f3e56b
14735 changed files with 178959 additions and 0 deletions
5
Task/Variable-size-Get/Vala/variable-size-get.vala
Normal file
5
Task/Variable-size-Get/Vala/variable-size-get.vala
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
void main(){
|
||||
ulong x = sizeof(int); // returns # of bytes used to store an int
|
||||
// is returned as a ulong, but could be typecasted to int with: int x = (int) sizeof(int)
|
||||
stdout.printf("%lu\n", x);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue