Storage, memory and calldata #5790
Unanswered
hrithikkoduri
asked this question in
Q&A
Replies: 1 comment
-
The reason we don't mention whether it is storage, memory, or calldata for uint256 in Solidity is because storage is the default data location, while strings require an explicit specification due to their variable size. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Why do we not mention wether it is going to be storage, memory, or calldata for uint256? Do we mention that only for string?
Beta Was this translation helpful? Give feedback.
All reactions