Answers for "In solidity defaults for the storage location depending on which type of variable it concerns"

0

In solidity defaults for the storage location depending on which type of variable it concerns

'state variables' are always in 'storage'
'function arguments' are always in 'memory'
local variables of 'struct', 'array' or 'mapping type' reference 'storage' by default
local variables of value type (i.e. neither array, nor struct nor mapping) are stored in the stack
Posted by: Guest on April-07-2022

Code answers related to "In solidity defaults for the storage location depending on which type of variable it concerns"

Browse Popular Code Answers by Language