Difficulty -
Medium
Total Plays - 8
Allowed Time - 10 sec
Best time - 2.132 sec
When does a fallback trigger?
#A
#B
#C
#D
Explanation:
The fallback() function runs when a transaction calls a non-existent function or sends data without matching any signature. It’s essential for proxy contracts but must be written carefully to avoid gas griefing and reentrancy risks.