Question: What are View Functions and Pure Functions in Solidity? Explain their use cases and differences.
View FunctionsDefinition:In Solidity, a function marked as view indicates that it can read the blockchain state but cannot modify it. In other words, executing a view function will not change any storage variables in the contract. Use Cases: Example: Pure FunctionsDefinition:A function marked as pure indicates that it neither reads nor modifies the blockchain state. […]


