The blockchain is an immutable, append-only transaction set.
I have the following questions regarding delete
keyword -
Then what is the purpose of delete
keyword in solidity?
Is it only for variables stored in memory?
Is it possible to delete
variables stored in storage and stack?
What are all the possible cases in which delete
keyword should be used and where it should not be?