Day 9. Basic Syntax of Solidity – Reference Types & Mapping Types –
Reference types refer to the memory location where the value is stored, rather than the value itself. Unlike value types, where the value of the data is stored directly in the variable, reference types store only a reference to the location of the data. Reference types hold the position of data in memory, allowing memory usage to be optimized regardless of the data's size. Mapping types are data structures that store key-value pairs.