2 ms·
using the stack is free as the space was reserved as part of the function setup and will be torn down automatically when the function returns using the heap re
by blibble 3y ago
using the stack is free as the space was reserved as part of the function setup and will be torn down automatically when the function returns
using the heap requires more work, can fail and requires manual cleanup