Init() and setup() definitions

Where are Init() and Setup(), called in main.cpp, defined and declared ?

Thanks

init() is declared in Arduino.h . I found a definition of it in ./hardware/arduino/sam/variants/arduino_due_x/variant.cpp . Don't know where else it might live.

setup() is decalred in Arduino.h and defined in your sketch.