In terms of performance, which of the following is true about Stack Memory?

Last Updated :
Discuss
Comments

In terms of performance, which of the following is true about Stack Memory?

It is faster because it follows LIFO (Last-In-First-Out) order

It is slower than Heap Memory because of object creation

It can handle large objects efficiently

It has more memory space compared to Heap Memory

Share your thoughts in the comments