Types of Memory
1. Stack Memory
Stack Memory are Small in Size , It is faster , we store primitive data here , it works in Last In, First Out (LIFO) manner
2. Heap Memory
Heap Memory are Large in Size , It is slower , we store data by its reference h...