What is stack and heap?

Answer Posted / maria

I think stack is a memory that is used to store actual
values of an object whereas Heap is a memory that is used
to store references of the objects. Iam student of IUB
bahawalnagar campus. I hope you will give opinion on it.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name the two classes are required for implementing a windows service?

546


Explain About ADO and its objects

569


What is the difference between User controls and Custom Controls?

550


Are arrays value types or reference types?

530


How do I create a .exe file?

482






Where static variables are stored?

470


What do you mean by jagged array?

489


what is method overloading in c#?

536


Why do we use readonly in c#?

487


Can hashtable have duplicate keys in c#?

476


Can bool be null c#?

499


Can a struct have a default constructor (a constructor without parameters) or a destructor in c#?

515


How long will it take to learn c#?

521


What is the task perform by clr?

570


Give some examples for built in datatypes in c#?

550