What is the difference between value data types and reference data types

Showing Answers 1 - 3 of 3 Answers

hanumesh

  • Aug 10th, 2007
 

Value data types is one which store the actual value of interest. Value type is always stack allocated.
Ex: Structure

Reference Data type is one which contains references of the data which in nothing but the address of the data. Reference is always heap allocated.
Ex: Class

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions