variable in c++ .net

A

Anupama

As per
http://www.developer.com/net/net/article.php/1756291#Value
%20types

Heap-An area of memory reserved for use by the CLR for a
running programming. In .NET languages, reference types
are allocated on the heap.

Reference types-A variable that stores a reference to
data located elsewhere in memory rather than to the
actual data itself. Reference types include array, class,
delegate, and interface

So I guess array will be stored on the heap

HTH
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
The posting is provided on an "as is" basis without
warranties of any kind either expressed or implied.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top