Solved

View and Pure Functions

Question 62

Multiple Choice

View and Pure Functions:


A) a function marked as pure can change the state, while a view function can only return static calls.
B) a function marked as view can never access state variables, while pure functions are here to return only one value.
C) a view function can access state variables, but not write to them. A Pure function cannot modify or read from state.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions