Lesson 3: Fund Me #1738
Answered
by
cromewar
ManiBharathiSS
asked this question in
Q&A
Lesson 3: Fund Me
#1738
-
while resetting the funders array why do we add funders = new address[](0); What does it mean? |
Beta Was this translation helpful? Give feedback.
Answered by
cromewar
Oct 7, 2022
Replies: 1 comment 1 reply
-
Hello @ManiBharathiSS |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ManiBharathiSS
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @ManiBharathiSS
This is because yo are reaching the pointer of the array, let's say the array have 5 elements, so you are accessing the first one with
(0)
.I hope this info might help.