5

What is the zero value of an Emum when initialized inside a struct of a mapping ?

7

The default value of the enum variable/field is first value of an enum which has index 0.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.