CBDE practice question 13 of 25

To send ether to a contract without a function call:

Full set: 102 questions
Answer options
A: a fallback function must be declared and it must be made payable. If there is no fallback function or the fallback function is not payable it will throw an exception. Correct answer
B: either a fallback function which is payable exists, or no fallback function at all exists.
C: you cannot send ether to a contract without explicitly calling a function. The fallback function can never receive ether.
Correct Answer:
A. a fallback function must be declared and it must be made payable. If there is no fallback function or the fallback function is not payable it will throw an exception.
Scroll to Top