Solved

View and Pure Functions

Question 33

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents