What Happens After main() Exits in Microcontroller?

What Happens After main() Exits in Microcontroller?

For embedded systems, if there is no RTOS running, the main function main() in program development needs to ensure it runs happily forever through some mechanism; it has no endpoint. If you want to exit from the main function, what happens afterwards is determined by the C language compiler being used. 1. Question Raised In … Read more