Memory allocation: Difference between revisions
J
mNo edit summary |
(J) |
||
Line 389:
make(map[int]int)
make(chan int)</lang>
=={{header|J}}==
Example of explicit [http://www.jsoftware.com/help/user/memory_management.htm memory allocation]:
<lang J> require 'dll'
mema 1000
57139856</lang>
Here, 57139856 is a pointer to 1000 bytes of memory.
=={{header|Java}}==
|