What is a value type?
A value type is a data type whose variable name and data, both are stored in the same memory location or a variable can able to store actual data not the reference to actual data.
In case of a value type a variable and data both are stored in the same memory location.
Ex: Assume int i=10; is declared as a local variable , when the program is executed, variable i is stored in stack memory of RAM and i variable is holding value 10 in the same memory location.
Back To Top