3 ms·
Is there another example that show how memory allocation work with pointers and stuff ?
by dezmou 2y ago
Is there another example that show how memory allocation work with pointers and stuff ?
- mbel 2y agoIt seems to work similarly as in C, i.e. you call malloc manually, there is some form of automatic size deduction though: https://github.com/galileolajara/cp1/blob/main/examples/04-variables.cp1 https://github.com/galileolajara/cp1/blob/main/examples/04-v...