@0xhamed
Solidity Data Locations - Storage, Memory and Calldata
- storage: variable is a state variable (store on blockchain)
- memory: variable is in memory and it exists while a function is being called
- calldata: special data location that contains function arguments