📊 C#
Q. Select differences between reference type and value type:
i. Memory allocated to ‘Value type’ is from heap and reference type is from ‘System. ValueType’
ii. Memory allocated to ‘Value type’ is from ‘System. ValueType’ and reference type is from ‘Heap’
iii. Structures, enumerated types derived from ‘System. ValueType’ are created on stack, hence known as ValueType and all ‘classes’ are reference type because values are stored on heap
  • (A) i, iii
  • (B) ii, iii
  • (C) i, ii, iii
  • (D) i
💬 Discuss
✅ Correct Answer: (B) ii, iii

You must be Logged in to update hint/solution

💬 Discussion


📊 Question Analytics

👁️
232
Total Visits
📽️
4 y ago
Published
🎖️
Babita
Publisher
📈
89%
Success Rate