2 ms·Pointers work just as well with heap allocated or stack allocated variables.by coliveira 8y agoPointers work just as well with heap allocated or stack allocated variables.