How Is Memory Allocated On The Heap?
You should use heap when you require to allocate a large block of memory. For example, you want to create a large size array or big structure to keep that variable around a long time then you should allocate it on the heap. When can you allocate memory in heapRead More →