employer cover photo
employer logo
employer logo

Siemens Digital Industries Software

Aktiver Arbeitgeber

Frage im Vorstellungsgespräch bei Siemens Digital Industries Software

Difference between Heap and Stack

Antworten zu Vorstellungsgespräch

Anonym

23. Feb. 2011

all objects get stored in heap while all value type get stored in stack..heap automatically maage memory using garbage collection..while in stack explicitly memory is managed using destructors..in heap,CLR is responsile for memory management.

2

Anonym

9. Apr. 2017

Heap : When you try to allocate memory by using "new " keyword .The memory will be stored in heap memory. Stack : The memory will be allocated automatically and free automatically once variable out of the scope

Anonym

12. Nov. 2010

I had no clue