Blockchain BTA Certified Blockchain Developer - Ethereum CBDE Question # 26 Topic 3 Discussion

Blockchain BTA Certified Blockchain Developer - Ethereum CBDE Question # 26 Topic 3 Discussion

CBDE Exam Topic 3 Question 26 Discussion:
Question #: 26
Topic #: 3

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.


Get Premium CBDE Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.