Select from following answers:- Queue and Stack
- Stack and LinkedList
- Stack and Heap

- All the Above
- All Above
Two types of memories are there in .net stack memory and heap memory.
Stack Memory - Its a kind of Static Memory which set aside as scratch space for a thread of execution. Stack reserves in LIFO(Last In First Out)
Heap Memory - Its a kind of Dynamic memory and there's no enforced pattern to the allocation and deallocation of blocks from the heap. To allocate memory on the heap, you must use malloc() or calloc()
Show Correct Answer
Asked In: Many Interviews |
Alert Moderator