Earn While Learning Web3 Programming>> Start Here FREE!!!
EXERCISE: Types Of Data Storage Location In Solidity:
NOTE: each time you take the time to do exercises like this, you expand your knowledge
and help other student coming behind you to have solid content to aid their study:
i. Research Types Of Data Storage Location In Solidity out there to expand your knowledge
ii. Check this forum for full list of "Types Of Data Storage Location In Solidity":
iii. Post a summary of different Types Of Data Storage Location In Solidity in this forum
NOTE:
This Is An Exercise From Our FREE Smart Contract Development With Solidity For Beginners Course (If you have not enrolled yet, you can join the course totally for FREE).
There are three (3) types of data storage locations in Solidity known as:
1- Storage
- Default & Permanent storage of the Solidity Smart Contract
- Also Access and can Write To It
- For Storing State Variable data values
2- Memory
- Temporal storage of the Smart Contract in Solidity
- Also Access and can Write To It
- For Storing Local Variable data values which is declared and limited within a function
3- Calldata
- Temporal storage of the SC
- Access/Read ONLY and can not Write To It
One of the storage location is calldata