Question: What is the main difference between a value type and a reference type?

  1. A value type can be any primitive type, while reference types must be type-agnostic.
  2. A value type refers to another value, while a reference type refers to a value in memory.
  3. A value type stores an actual value, while a reference type is a pointer to a value.
  4. A value type is available only at runtime, while a reference type is available only at compile time.

Answer: The correct answer of the above question is Option C:A value type stores an actual value, while a reference type is a pointer to a value.